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 on April 23, and its replacement, 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 <>
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

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:

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