Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xline options


From   Gisella Young <[email protected]>
To   [email protected]
Subject   st: xline options
Date   Thu, 4 Sep 2008 04:20:39 -0700 (PDT)

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index