Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Plotting Y1 and Y2 vs X


From   jean ries <[email protected]>
To   [email protected]
Subject   Re: st: Plotting Y1 and Y2 vs X
Date   Wed, 19 May 2004 18:13:13 +0200

At 17:17 19/05/2004, you wrote:
Dear stata-listers,

Apologies first hand if this query has been answered before (but I could not
find a simple lead in the statalist archives).

I wish to plot Y1 and Y2 against X using 2 y-axes (different scales of
measurement).

Is that possible using "twoway line".
It is:

twoway (line Y1 X) (line Y2 X , yaxis(2))


jean

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