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 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 Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com > [[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 http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.