Bookmark and Share

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 y-axes


From   "Kieran McCaul" <[email protected]>
To   <[email protected]>
Subject   RE: st: multiple y-axes
Date   Fri, 3 Sep 2010 08:41:46 +0800

...

thanks Scott, that did th etrick

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Scott Merryman
Sent: Thursday, 2 September 2010 8:05 PM
To: [email protected]
Subject: Re: st: multiple y-axes

sysuse auto
twowy hist mpg, yscale(alt axis(1)) || line weight mpg, sort yaxis(2)
yscale(alt axis(2))

Scott


On Wed, Sep 1, 2010 at 11:54 PM, Michael N. Mitchell
<[email protected]> wrote:
> Well, that is what happens when you suggest an idea without trying it. I am
> stumped on this, because the documentation says -yscale(alt)- should switch
> the position of the y axis from right to left (or vice versa), but I cannot
> find any combination of -yaxis()- and -yscale()- that will solve this.
> Although this is not a fun suggestion, you could use the graph editor,
> choosing the -grid edit- mode to move the axis from the left to the right,
> and then from the right to the left. I bet, however, someone else has a
> better idea!
>
> Michael N. Mitchell
> Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
> A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
> Stata tidbit of the week         - http://www.MichaelNormanMitchell.com
>
>
>

*
*   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index