Re: [R] Plotting 2 Lines on the Same Chart

2010-11-10 Thread S Ellison
When I use Plot(series1) lines(series2) The graph will use the y axis scaling for series 1 so some of series 2 is cut off. How do I control the y axis scaling? Plot them together as a multivariate series as in the examples already pointed to. ...or try plot(series1, type=l,

Re: [R] Plotting 2 Lines on the Same Chart

2010-11-01 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 29.10.2010 20:30:47: Thanks. 1 more question. When I use Plot(series1) lines(series2) 1 use plot(series1) 2 read help page for plot.default if you are plotting simple scatterplot 3 pay attention to xlim and ylim parameters

[R] Plotting 2 Lines on the Same Chart

2010-10-29 Thread Jason Kwok
How do I plot two time series plots on the same chart? Thanks, Jason [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Plotting 2 Lines on the Same Chart

2010-10-29 Thread Gabor Grothendieck
On Fri, Oct 29, 2010 at 1:41 PM, Jason Kwok jayk...@gmail.com wrote: How do I plot two time series plots on the same chart? Try this: example(plot.ts) example(ts.plot) library(zoo) example(plot.zoo) library(lattice) example(xyplot.zoo) -- Statistics Software Consulting GKX Group, GKX

Re: [R] Plotting 2 Lines on the Same Chart

2010-10-29 Thread Jason Kwok
Thanks. 1 more question. When I use Plot(series1) lines(series2) The graph will use the y axis scaling for series 1 so some of series 2 is cut off. How do I control the y axis scaling? Thanks, Jason On Fri, Oct 29, 2010 at 2:10 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On

Re: [R] Plotting 2 Lines on the Same Chart

2010-10-29 Thread Gabor Grothendieck
On Fri, Oct 29, 2010 at 2:30 PM, Jason Kwok jayk...@gmail.com wrote: Thanks.  1 more question. When I use Plot(series1) lines(series2) The graph will use the y axis scaling for series 1 so some of series 2 is cut off.  How do I control the y axis scaling? Plot them together as a