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

st: RE: xline options

From   "Martin Weiss" <>
To   <>
Subject   st: RE: xline options
Date   Thu, 4 Sep 2008 13:38:46 +0200

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


-----Original Message-----
[] On Behalf Of Gisella Young
Sent: Thursday, September 04, 2008 1:21 PM
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,

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

I get the error message:
) required

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?




*   For searches and help try:

*   For searches and help try:

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