Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Where's the title?


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Where's the title?
Date   Mon, 23 May 2011 08:40:08 +0100

I agree with Steve here and draw attention to the permanent request
not to take threads private if the continuation should be seen in
public.

What's also important is that Art would have received an error message
complaining that Stata could not make sense of -title ...-, which in
itself underlined that the command had been split.

Nick

On Mon, May 23, 2011 at 1:37 AM, Steven Samuels <[email protected]> wrote:
> (Art wrote me privately, but I am answering here.)
>
> No, I don't think the manual should change, although I see how somebody could be misled, once. The default of one line per command is pretty basic.
>
> On page 11, the Graphics Manual states that the different lines of a single command were written  between a line "#delim ;" and a single line with ";", but never mentions the issue again.
>
> There are two other ways of breaking a command into multiple lines: commenting out the line ending  with "/*"  and "*/" or using " ///".  Showing any one of them would not only take unnecessary space but would convey the message that the illustrated technique is preferred.
>
> Steve
> On May 20, 2011, at 3:47 PM, Art Burke wrote:
>
> Steve … Thanks, you’re right. I followed the syntax below from the manual. Should Stata change that?
>
> . graph bar (mean) wage, over(smsa) over(married) over(collgrad)
> title("Average Hourly Wage, 1988, Women Aged 34-46")
> subtitle("by College Graduation, Marital Status, and SMSA residence")
> note("Source: 1988 data from NLS, U.S. Dept. of Labor, Bureau of Labor Statistics")
>
> Art
> ________________________________________
> Art-
>
> You are breaking the lines so that the last two are ignored.  Use "   ///" after the first two lines.
>
> Steve
>
> On May 20, 2011, at 3:23 PM, Art Burke wrote:
>
> This syntax is generating the plot, but without title and note. What am I doing wrong?
>
> graph hbar (asis) pct, over(year) over(proforder) over(level, sort(order))
>    title("Percentages of LEP Students")
>    note("Source: Idaho State Department of Education")
>
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index