Usage
## S3 method for class 'wp':
plot(x, nvwp = NULL, main = "Wavelet Packet Decomposition",
sub, first.level = 5, scaling = "compensated", dotted.turn.on = 5,
color.force = FALSE, WaveletColor = 2, NodeVecColor = 3,
fast = FALSE, SmoothedLines = TRUE, ...)
Arguments
x
The wp object whose coefficients you wish to plot.
nvwp
An optional associated wavelet packet node vector class object of
class nvwp
.
This object is a list of packets in the wavelet packet table.
If this argument is specified then it is possible to highlight the
packets in the nvwp objects in
main
The main title of the plot.
sub
A subtitle for the plot.
first.level
The first resolution level to begin plotting at.
This argument can be quite useful when you want to supress some
of the coarser levels in the diagram.
scaling
How you want the coefficients to be scaled.
The options are: global
- one scale factor is chosen for
the whole plot. The scale factor depends on the coefficient to be
included on the plot that has the largest absolute value.
The global op
dotted.turn.on
The plot usually includes some dotted vertical bars that
separate wavelet packets to make it clearer which packets are which.
This option controls the coarsest resolution level at which dotted
lines appear. All levels equal to and finer than this level
color.force
If FALSE then some "clever" code in CanUseMoreThanOneColor tries to figure out how many colours can be used (THIS HAS NOT BEEN MADE TO WORK
IN R) and hence whether colour can be used to pick out wavelet
packets or elements of a node vector.
This optio
WaveletColor
A colour specification for the colour for wavelet
coefficients. Wavelet coefficients are a component of wavelet packet
coefficients and this option allows them to be drawn in a different
color. In R you can use names like "red", "blue" to select the co
NodeVecColor
If a nvwp object is supplied this option can force
coefficients that are part of that nvwp to be drawn in the specified
color. See the explanation for the WaveletColor
option above
about specification in R.
fast
This option no longer does anything.
SmoothedLines
If TRUE then the scaling function coefficients are
drawn using lines (and look like mini versions of the original).
If FALSE then the scaling function coefficients are drawn using
the segments
function and look like a coarser shadowy
vers
...
Other arguments to the plot command