Statalist


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

st: RE: RE: RE: graphing problem


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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. 

Nick 
n.j.cox@durham.ac.uk 

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

Try http://www.stata-journal.com/sjpdf.html?articlenum=gr0019

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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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