Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: seperate scales/labels for seperate plots


From   "Neil Shephard" <[email protected]>
To   [email protected]
Subject   Re: st: seperate scales/labels for seperate plots
Date   Mon, 24 Apr 2006 23:20:01 +0800

On 4/24/06, [email protected] <[email protected]> wrote:

> i am using the "scatter" command with the option "by" and want to scale my
> y-axis separatly, related to my different categories.
> one possible solution ist to use "yrescale" as a suboption ( graphic manual
> for stata 8, page 88). the problem is, that with this suboption the yaxis is
>  scaled automatically, but i want to define the scale and labels for each
> category individually.
> Any suggestions?

There may be a more elefant succinct solution but it is possible to
draw the graphs seperately then combine them using -graph combine-.

Generally I consider it to be good practice to have all graphs with
the same scale as it makes them comparable, and avoids errors in
interpretation, but there are instances where this can be problem e.g.
one of the sub-graphs has a data point several orders of magnitutde
higher than the others, and therefore it is very hard to read any
information from the other graphs.  Always ensure that each individual
plot has an appropriate scale though.

Neil
--
"Try to learn something about everything and everything about
something." - Thomas H. Huxley

Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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