[R] Two lines, two scales, one graph

Rick rc at ece.pdx.edu
Mon Aug 24 17:00:47 CEST 2009


First of all, thanks to everyone who answers these questions - it's
most helpful.

I'm new to R and despite searching have not found an example of what I
want to do (there are some good beginner's guides and a lot of complex
plots, but  I haven't found this).

I would like to plot two variables against the same abscissa values. They
have different scales. I've found how to make a second axis on the right
for labeling, but not how to plot two lines at different scales.

  Thanks,


  - Rick


rc at ece.pdx.edu




More information about the R-help mailing list