Re: [R] plot of 2 time series with very different values

2007-03-02 Thread Petr Pikal
Hi I use a function plot.yy which i designed for convenieant plotting on 2 y axes for myself (see code below). You can modify its internals to suit your needs easily but this will give you something quite close. plot.yy(1996:2000, c(80, 100, 95, 35, 28), c(7,8,6, 2, 3), xlim=c(1996, 2000),

Re: [R] plot of 2 time series with very different values

2007-03-02 Thread Berta
Thank you so much Petr, it is exaclty what I was looking for!! Berta. Hi I use a function plot.yy which i designed for convenieant plotting on 2 y axes for myself (see code below). You can modify its internals to suit your needs easily but this will give you something quite close.

Re: [R] plot of 2 time series with very different values

2007-03-02 Thread Gabor Grothendieck
There is an example in the example section of plotting two time series on the same plot with different left hand and right hand scales here: library(zoo) ?plot.zoo On 3/2/07, Berta [EMAIL PROTECTED] wrote: Hi R-Users, I am trying to plot two time series in the same plot, but they measure