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

Jim Lemon jim at bitwrit.com.au
Thu Aug 14 14:21:47 CEST 2008


On Thu, 2008-08-14 at 16:16 +0530, Yogesh Tiwari 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.
> 
Hi Yogesh,
Have a look at twoord.plot in the plotrix package.

Jim



More information about the R-help mailing list