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

From: Marc Schwartz <>
Date: Thu 10 Mar 2005 - 00:30:12 EST

On Wed, 2005-03-09 at 11:21 +0000, wrote:
> Dear All,
> 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.
> Any suggestions how this may be done will be appreciated.

If you have several series with common axes, you can use matplot() and do it with a single function call.

See ?matplot for more information.

HTH, Marc Schwartz mailing list PLEASE do read the posting guide! Received on Thu Mar 10 00:55:31 2005

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