Learn R Programming

waveslim (version 1.12)

stack.plot: Stack Plot

Description

Stack plot of an object. This function attempts to mimic a function of the same name in S+WAVELETS. It is mostly a hacked version of plot.ts in R.

Usage

stack.plot(x, plot.type = c("multiple", "single"), panel = lines, 
    log = "", col = par("col"), bg = NA, pch = par("pch"), cex = par("cex"),
    lty = par("lty"), lwd = par("lwd"), ann = par("ann"), xlab = "Time",
    main = NULL, oma = c(6, 0, 5, 0), layout = NULL,
    same.scale = 1:dim(x)[2], ...)

Arguments

x
ts object
layout
Doublet defining the dimension of the panel. If not specified, the dimensions are chosen automatically.
same.scale
Vector the same length as the number of series to be plotted. If not specified, all panels will have unique axes.
plot.type,panel,log,col,bg,pch,cex,lty,lwd,ann,xlab,main,oma,...
See plot.ts.

Value

    Details

    Produces a set of plots, one for each element (column) of x.