Statalist


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

Re: st: xline options


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   Re: st: xline options
Date   Thu, 4 Sep 2008 12:45:45 +0100

Gisella,

you have a space between xline and ( that shouldn't be there.

graph twoway (line gl1 p1, sort) (line gl2 p2, sort), xline(0.3, lpattern(dash))

ought to work as expected.

Eva

2008/9/4 Gisella Young <[email protected]>:
> 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