Stack plot of an object. This function attempts to mimic a function
called stack.plot
in S+WAVELETS. It is mostly a hacked version
of plot.ts
in R.
stackPlot(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], ...)
ts
object
Doublet defining the dimension of the panel. If not specified, the dimensions are chosen automatically.
Vector the same length as the number of series to be plotted. If not specified, all panels will have unique axes.
See plot.ts
.
Produces a set of plots, one for each element (column) of x
.