Stata has different modes of complaining here, depending on whether you
specified -tw- or not (for one -scatter- that should not make much of a
difference in terms of output)
***************
sysuse auto, clear
scatter weight price , xline(5000, lwidth(vthin))
scatter weight price , xline (5000, lwidth(vthin))
parentheses do not balance
tw (scatter weight price) , xline (5000, lwidth(vthin))
) required
***************
Best,
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gisella Young
Sent: Thursday, September 04, 2008 1:21 PM
To: [email protected]
Subject: st: xline options
I am using xline to add a vertical line to my twoway plot. It works fine
except if I try to specify any options for the xline, in which case I get an
error message.
graph twoway (line gl1 p1, sort) (line gl2 p2, sort) , xline (0.3)
works just fine, but if I try to modify the xline using established options,
e.g.
graph twoway (line gl1 p1, sort) (line gl2 p2, sort), xline (0.3,
lpattern(dash))
I get the error message:
) required
r(100);
The coding seems to me to be the same as that in the help file. I can't see
what the problem is or how to solve it?
Thanks,
Gisella
*
* 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/