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]

st: align the zeros of two different y axis


From   jean-luc morin-chesnel <[email protected]>
To   [email protected]
Subject   st: align the zeros of two different y axis
Date   Sun, 3 Nov 2013 21:26:50 +0100

Dear all,

I use Stata 13 and I have a simple question:
Consider the following graph:

twoway (spike qtit date, sort lwi(thick) lco(blue)) ///
 (connect goodness date , sort lco(gray) yaxis(2)), ///
name(two, replace) legend(off)

 I would like to have the zeros aligned in the two different y axis
(one for qtit, one for goodness) . I found a previous answer by Mister
Cox some years ago, but I would like not to rescale my data.

Do you have an idea? is that possible with Stata 13?
Many, many thanks!

JL
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index