Plot Packet Table Coefficients.

DESCRIPTION:

Plots the coefficients for a wavelet packet table or a cosine packet table.

USAGE:

plot(x, J=attr(x, "n.levels"), remove.low=F, grid=T, 
     type="h", grid.lty=par("lty")+1, ...) 

REQUIRED ARGUMENTS:

x
a ptable object.

OPTIONAL ARGUMENTS:

J
number of levels to be plotted.
remove.low
logical flag indicating if remove all the smooth coefficients from the plot. When smooth coefficients dominate the detail coefficients, it is useful to set remove.low=TRUE to see the detail coefficients.
type
a character specifying the plotting style: see the par function for available types.
grid
if TRUE, a grid is added between the coefficient blocks (crystals). See pgrid.plot for details.
grid.lty
integer giving the line type for the grid of crystals. See the lty argument for par.
...
additional arguments can be passed to stack.plot.

VALUE:

a numeric vector giving the y-value centers of each level.

SIDE EFFECTS:

produces a plot of the packet coefficients.

DETAILS:

The coefficients blocks (crystals) are plotted in "sequency" order. See Wickerhauser (1994) for details.

REFERENCES:

Wickerhauser, M. V. (1994). Adapted Wavelet Analysis from Theory to Software. A. K. Peters Ltd, Wellesley, MA.

SEE ALSO:

, , .