Re: [R] secondary axis in a plot

From: Jim Lemon <>
Date: Thu, 22 May 2008 22:41:15 +1000

MarySR wrote:
> Hello,
> I want to do a plot of two series, but adding a secondary axis in the rigth
> side to take into account the different scales of the two series. Anyone can
> tell me haw can I do that in R?

Hi Maria,

Have a look at twoord.plot in the plotrix package.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 22 May 2008 - 12:50:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 22 May 2008 - 13:30:39 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive