[R] Plotting w/multiple y-axes?
Morten.Sickel at nrpa.no
Tue Jan 21 09:10:03 CET 2003
Per Bak wrote:
>How do I plot using multiple(2) y-axes?
>I have two series that use the same x-data, but have very different scales.
I don't know, it that is the only, or even the best way to do it, but I plot
with multiple Y-axes using the grid package. The problem I have found is
that you have to start using a completely new syntax for plotting
# ywtext and yrtext are initialized to the text to be plotted at
# the 1st and 2nd Y axes
#1st series, scale 0 - 500:
#2nd series, scale 0-250
More information about the R-help