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/