Re: st: controlling the axis display in graph twoway

--- Murali Kuchibhotla <muralik@iastate.edu> wrote:
> I have a plot(produced with twoway connected) with x-axis
> values ranging from 0-60. I would like to truncate the plot so that
> only a part of it(the part corresponding to values on the x-axis
> ranging from 0-40) is displayed. What command will allow me to do
> this?
Assuming that the variables are called y and x:
twoway line y x if x <= 40
hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
*
* 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/