[R] Two y-axes for a plot

kjetil brinchmann halvorsen kjetil at entelnet.bo
Wed Jan 29 23:23:03 CET 2003


On 29 Jan 2003 at 17:05, R A F wrote:

This has been asked many times, so you should try the mail archives, 
available from the CRAN main page. The short answer is

?par
plot( ...., ann=FALSE)
axis

Kjetil Halvorsen


> Hi, how would I plot two series in the same plot, but with
> two y-axes (one on the left and one on the right)?  Would
> this be possible?  [The two series have quite different
> y-values, so using the same y-axis for both is not possible.]
> 
> Thanks very much!
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list