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   siyama@who.int
To   statalist@hsphsun2.harvard.edu
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of jean ries
Sent: 19 May 2004 18:13
To: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index