Re: [R] secondary axis in a plot

From: Karl Ove Hufthammer <>
Date: Thu, 22 May 2008 14:32:55 +0200


> 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?

I would *strongly* advice you to read this article on dual-scaled axes before proceeding:

Anyway, your question has been answered several times in the past. Try the search term "two axes" at "".

Karl Ove Hufthammer

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 22 May 2008 - 12:36:42 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