[R] how to over-plot another variable on axis-4

Gabor Grothendieck ggrothendieck at gmail.com
Thu Aug 14 14:15:59 CEST 2008


FAQ #3 in

library(zoo)
vignette("zoo-faq")

shows how as does one of the examples in ?plot.zoo

Also look at twoord.plot in the plotrix package.

On Thu, Aug 14, 2008 at 6:46 AM, Yogesh Tiwari
<yogesh.mpi at googlemail.com> wrote:
> Hello R Users,
> I am using R on Windows,
>  I am ploting CO2 (350,380) variying with year(1993,2003)
> I want to over-plot rainfall (10,250) varying with year(1993,2003) on axis-4
>
>  axis-1=year(1993,2003),
> axis-2=CO2(350,380)
> axis-3=None
> axis-4=rainfall(10,250)
> Kindly help how to over-plot another variable on axis-4.
>
> Many thanks,
>
> Regards,
> Yogesh
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list