Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[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–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index