Re: [R] Plotting three time series on the same graph

2008-06-30 Thread tolga . i . uzuner
col = "green") par(new = TRUE) plot(z[,2], type = "l", ann = FALSE, yaxt = "n", col = "blue") # axis(4) Axis(side = 4) par(opar) "Gabor Grothendieck" <[EMAIL PROTECTED]> 30/06/2008 12:07 To [EMAIL PROTECTED] cc r-help@r-project.org Subject Re

Re: [R] Plotting three time series on the same graph

2008-06-30 Thread tolga . i . uzuner
Hi Romain, Many thanks for this example as well. Tolga Romain Francois <[EMAIL PROTECTED]> 30/06/2008 12:33 To [EMAIL PROTECTED] cc r-help@r-project.org Subject Re: [R] Plotting three time series on the same graph Hello Tolga, Further hacking on par(mar) leads me to the code

Re: [R] Plotting three time series on the same graph

2008-06-30 Thread Romain Francois
on the same side. There may be no solution to this problem in R but if there is, would appreciate hearing about it from someone ? Figure 1 in this link shows what I am trying to achieve: http://www.aditus.nu/jpgraph/howto04.php Thanks anyway, Tolga *Romain Francois <[EMAIL PROTECT

Re: [R] Plotting three time series on the same graph

2008-06-30 Thread Gabor Grothendieck
In the zoo package there is an example of a graph with an axis on the left and on the right in the examples section of ?plot.zoo. Run that with but use ylab = "" on the plot call to make room for the third axis. To add a third axis supposing 1 - 15 is the range of our third time series: usr <- p

Re: [R] Plotting three time series on the same graph

2008-06-30 Thread tolga . i . uzuner
I am trying to achieve: http://www.aditus.nu/jpgraph/howto04.php Thanks anyway, Tolga Romain Francois <[EMAIL PROTECTED]> 30/06/2008 10:51 To [EMAIL PROTECTED] cc Matt Aldridge <[EMAIL PROTECTED]> Subject Re: [R] Plotting three time series on the same graph Hello Tolga, I

[R] Plotting three time series on the same graph

2008-06-30 Thread tolga . i . uzuner
Dear R Users, I would like to plot three time series on the same graph, two axis on the left and one axis on the right. The time series that I am graphing on the left do not share a similar scale: one has a range of 1:100 and the other a range of 25000:7. How can I display the tick marks f