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

st: RE: RE: RE: graphing problem

From   "Nick Cox" <>
To   <>
Subject   st: RE: RE: RE: graphing problem
Date   Fri, 5 Dec 2008 16:42:06 -0000

Stata here as elsewhere applies the principle that a graph should be
honest about your data. Equivalently, it does not want to make it easy
for you to omit data from a graph by accident. Thus if you want to omit
data on purpose you should do on purpose by applying -if-. 

An alternative might be to use a log scale. 


Mak, Timothy

Thanks for the article. However, as the article says, Stata determines
the minimum range of the graph according to the range of the data. It
remains impossible to set the range of the graph to be smaller than that
of the data. 

Martin Weiss


Mak, Timothy

Is there any reason why Stata won't let you draw a graph whose y-axis'
range is less than the actual range of the data? Is there a way to get
round this? 

The motivation comes from doing a graph where there is one group which
has a articularly large y value. If I graph it with the other groups,
then all the other groups will be very small, and their relative heights
not very distinguishable. If I can focus on the other groups and let the
outlying group 'goes off the scale', that's clearly quite a good device
to have. In fact, the problem can't be overcome even if I artificially
set the outlying y value to the maximum of the y range, because the top
will look different, particularly when I want to graph error intervals. 


*   For searches and help try:

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