Re: [R] Plotting with 2 y axes

2007-10-12 Thread jim holtman
basically something along these lines: plot(Time, Resistance, bty='c') par(new=TRUE) plot(Time, Temperature, axes=FALSE, ylab='', xlab='') axis(4) On 10/12/07, Keith Cox <[EMAIL PROTECTED]> wrote: > My data is the following: > > > > > Time > > Resistance > > Temperature > > > 5 > > 2000 > > 4 > >

[R] Plotting with 2 y axes

2007-10-12 Thread Keith Cox
My data is the following: Time Resistance Temperature 5 2000 4 10 2200 8 15 2500 14 20 2900 20 25 3000 29 30 3100 38 35 3500 46 40 3800 47 45 3900 50 50 4000 51 I would like to create a scatter plot with Time on the x axis, Resistance on the y axis