Skip to content
Prev 2143 / 15274 Next

Zoo functions - Plotting

One other point.

If you only plot a single panel (there can be multiple time series in
each panel)
at a time then you can use mfrow.  For example,  this works:

library(zoo)
opar <- par(mfrow = c(2,2))
z <- zoo(cbind(a = 1:5, b = 2:6, c = 3:7, d = 4:8))

for(cn in colnames(z)) plot(z[, cn], main = cn, ylim = range(z))

par(opar)
On Feb 8, 2008 3:38 PM, Gabor Grothendieck <ggrothendieck at gmail.com> wrote: