Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
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/