Re: [R] secondary axis in a plot

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

MarySR:

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

http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf

Anyway, your question has been answered several times in the past. Try the search term "two axes" at "http://www.rseek.org/".

-- 
Karl Ove Hufthammer

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive