Re: [R] How to plot two variables using a secondary Y axis

2007-07-11 Thread hadley wickham
On 7/10/07, Felipe Carrillo [EMAIL PROTECTED] wrote: Date Fo Co6/27/2007 57.1 13.96/28/2007 57.7 14.3 6/29/2007 57.8 14.36/30/2007 57 13.97/1/2007 57.1 13.9 7/2/2007 57.2 14.07/3/2007 57.3 14.17/4/2007 57.6 14.2 7/5/2007 58 14.4

Re: [R] How to plot two variables using a secondary Y axis

2007-07-10 Thread Sundar Dorai-Raj
Felipe Carrillo said the following on 7/10/2007 7:58 AM: Date Fo Co6/27/2007 57.1 13.96/28/2007 57.7 14.3 6/29/2007 57.8 14.36/30/2007 57 13.97/1/2007 57.1 13.9 7/2/2007 57.2 14.07/3/2007 57.3 14.17/4/2007 57.6 14.2 7/5/2007 58

Re: [R] How to plot two variables using a secondary Y axis

2007-07-10 Thread Gabor Grothendieck
We assume the Fo and Co represent the same data except in different units (this seems to be approximately the case) so there is really only one variable being measured here. If that's not the case let me know. Below we read the data, define enough padding around plot to do what we want, call