Re: [R] Plotting two 3-dimensional time series in a 3 x 2 plot - alternatives to par(mfrow())

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Thu 16 Feb 2006 - 12:30:32 EST

plot.zoo takes the nc= argument which specifies the number of columns it uses, e.g.

library(zoo)
library(tseries)
data(USeconomic)
z <- as.zoo(USeconomic)
plot(z, nc = 2)

On 2/15/06, Søren Højsgaard <Soren.Hojsgaard@agrsci.dk> wrote:
> I am trying to plot two 3-dimensional time series in one window (such that there will be 3 rows and 2 columns). For zoo and ts objects the par(mfrow...) option does not work. I can get xyplot to make the plots, but data are on widely different scales in the three dimensions, and xyplot uses the same scale on all y-axis which means that in some dimensions the curves will be almost horizontal lines. Any suggestions?
> Thanks in advance
> Søren
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 16 12:37:26 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:28 EST