[R] Plot multiple lines, same plot, different axes?
jim at bitwrit.com.au
Thu Dec 18 11:28:35 CET 2008
zack holden wrote:
> Dear list,
> I would like to plot 2 series of numbers with very different
ranges/scales as lines on the same
> plot. I assumed this is commonly done and easy, but I have not found
any help files (e.g. axis()
> or matplot() that show how. I've searched many old posts to no avail.
> I'll be very grateful for any suggestions on how this is done.
If you have a look at the help page for twoord.plot in the plotrix
package, it has some suggestions for avoiding misleading the viewer. It
is possible that you might find gap.plot helpful as well.
More information about the R-help