Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Regaining control over axis ranges


From   annoporci <annoporci@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Regaining control over axis ranges
Date   Tue, 25 Dec 2012 21:29:29 +0800

That's the one! Thanks a lot Nick.

Thus, to cut the axis where desired:

  twoway scatter mpg price if inrange(price, 5000, 10000)


To omit data, use -if-. The option
Nick

This won't do:
twoway scatter mpg price, xscale(range(5000 10000)) xlabel(5000[1000]10000)
Patrick Toche.


--
Patrick Toche.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index