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, statalist.org is already up and running.


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

Re: st: Multiple plots, by() option and reversed yaxis scales/labels


From   David Elliott <dcelliott@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Multiple plots, by() option and reversed yaxis scales/labels
Date   Fri, 15 Oct 2010 11:51:56 -0300

I see they brought out the heavy hitters for this one.

Thank you, Vince, for your explanation - the fix works perfectly.

It is all painfully obvious in retrospect.  I had made an erroneous
assumption regarding the meaning of axis(1) and axis(2) in relation to
left and right.  I would dispute that I might think the ordered
placing of objects in the hierarchy to be "authoritarian".
Fortunately, as Vince's examples show, Stata allows fine-grained
control of the axis placement, allowing one to modify the defaults.

I now have a 	yscale(alt axis(2)) yscale(alt axis(1)) ///
in my graph code which sorts things nicely.

Incidentally, I had been using l1title("Left") r1title("Right") to
title the axes.

Many thanks,

DCE
*
*   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   |   Site index