Forms a stack plot of wavelet transform crystals.
# S3 method for default
wavStackPlot(x, x.axis=TRUE, y.axis=TRUE, type="l", plot=TRUE,
bars=FALSE, vgap=.05, grid=FALSE, times=time(x[[1]]),
grid.lty="dashed", same.scale=NULL,
zerocenter=FALSE, zeroline=FALSE, col=rep(1,n),
complex.math="mod", cex.main=0.7, cex.axis=0.7, ...)
a named list of wavelet transform crystals.
additional arguments sent directly to various internal plot functions.
a logical value. If TRUE
, a vertical bars are produced. Default: FALSE
.
axis label character expansion factor ala par
function. Default: 0.7.
main title character expansion factor ala par
function. Default: 0.7.
color indices for each crystal ala par
function. Default: rep(1,n)
.
math function to perform on each crystal prior to display. Default: "mod"
.
a logical value. If TRUE
, grid lines are produced. Default: FALSE
.
grid line type ala par
function. Default: "dashed"
.
a logical value. If TRUE
, a plot is produced. Default: TRUE
.
a logical value. If TRUE
, the crystal coefficients are scaled. Default: TRUE
.
a numeric vector of x-axis times to be displayed. Default: time(x[[1]])
.
type of plot ala par
function. Default: "l"
.
vertical gap factor used to separate stacked crystals. Default: 0.05.
a logical value defining the visibility of the x-axis. Default: TRUE
.
a logical value defining the visibility of the y-axis. Default: TRUE
.
a logical value. If TRUE
, crystals are centered about zero. Default: FALSE
.
a logical value. If TRUE
, a y=0 line is drawn for reference. Default: FALSE
.
Used by various wavelet functions to plot wavelet transform crystals. In general,
the user should not call this function directly and, rather, shoudl rely on the plot methods
of wavTransform
objects.
# NOT RUN {
wavStackPlot.default(wavMODWT(sunspots)$data)
# }
Run the code above in your browser using DataLab