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   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: Where's the title?
Date   Sun, 22 May 2011 20:37:08 -0400

(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")



_______________________________________
Arthur J. Burke
Senior Methodology Advisor
Education Northwest
101 SW Main St, Suite 500
Portland OR 97204-3213
[email protected]
Phone: 503-275-9592
http://educationnorthwest.org

Need help finding evidence-based answers to questions about education practices, policies, or programs? Take advantage of our free reference desk service offered by our REL Northwest project. Contact Jennifer Klump at http://askarel.org/northwestfor prompt, authoritative, and customized answers to your questions.




*
*   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