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   [email protected]
To   [email protected]
Subject   RE: st: Plotting Y1 and Y2 vs X
Date   Wed, 19 May 2004 18:21:03 +0200

Many thanks Jean, I will try that.

All the best,

Amani


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of jean ries
Sent: 19 May 2004 18:13
To: [email protected]
Subject: Re: st: Plotting Y1 and Y2 vs X

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