Re: [R] Plotting several series on one set of axes

From: Gabor Grothendieck <>
Date: Thu 10 Mar 2005 - 01:23:54 EST

 <midnightsun <at>> writes:

: I am rather rusty with my R, but I recall being able to do something like
: plot(x1,...);plot(x2,add=TRUE,...)
: to plot two series on the same axes.

You can use ts.plot to plot multiple ts time series on one set of axes in one command (even if they have different time bases though they must have the same frequency). See ?ts.plot

zoo can represent series as irregular so that even ones with different frequencies can be simultaneously plotted on the same axes in one command. See library(zoo)l; help(plot.zoo) mailing list PLEASE do read the posting guide! Received on Thu Mar 10 01:56:54 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:42 EST