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]
st: RE: finicky graph parsing
From 
 
Nick Cox <[email protected]> 
To 
 
"'[email protected]'" <[email protected]> 
Subject 
 
st: RE: finicky graph parsing 
Date 
 
Tue, 2 Nov 2010 19:34:23 +0000 
Take out the comma before -xtitle()-. 
Nick 
[email protected] 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Feiveson, Alan H. (JSC-SK311)
Sent: 02 November 2010 19:28
To: [email protected]
Subject: st: finicky graph parsing
This works:
twoway (scatter P del1,c(l) s(i) clwidth(thick) clcolor(blue)) (scatter P del2,c(l) s(i) clcolor(red) clwidth(thick) ,xtitle("actual change (mm Hg)") ytitle("probability") legend(order(1  "same operator" 2  "different operators"  ) cols(2)    )  )
This gives the message "invalid varlist":
twoway (scatter P del1,c(l) s(i) clwidth(thick) clcolor(blue)) (scatter P del2,c(l) s(i) clcolor(red) clwidth(thick),xtitle("actual change (mm Hg)") ytitle("probability") legend(order(1  "same operator" 2  "different operators"  ) cols(2)    )  )
So does this:
twoway (scatter P del1,c(l) s(i) clwidth(thick) clcolor(blue)) (scatter P del2,c(l) s(i) clcolor(red) clwidth(thick), xtitle("actual change (mm Hg)") ytitle("probability") legend(order(1  "same operator" 2  "different operators"  ) cols(2)    )  )
The only difference is the spacing after "clwidth(thick)" and before "xtitle".
Why?
Al Feiveson
*
*   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/
*
*   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/