Usage
## S3 method for class 'default':
draw(filter.number = 10, family = "DaubLeAsymm", resolution = 8192,
verbose = FALSE, plot.it = TRUE, main = "Wavelet Picture", sub = zwd$
filter$name, xlab = "x", ylab = "psi", dimension = 1, twodplot
= persp, enhance = TRUE, efactor = 0.05, scaling.function = FALSE,
type="l",
\dots)
Arguments
filter.number
This selects the index number of the wavelet or scaling function you want to draw (from within the wavelet family).
family
specifies the family of wavelets that you want to draw. The options are "DaubExPhase" and "DaubLeAsymm".
resolution
specifies the resolution that the wavelet or scaling function is computed to. It does not necessarily mean that you see all of these points as if the enhance option is TRUE then some function points are omitted.
verbose
Controls the printing of "informative" messages whilst the computations progress. Such messages are generally annoying so it is turned off by default.
plot.it
If TRUE then this function attempts to plot the function (i.e. draw it on a graphics device which should be active). If FALSE then this function returns the coordinates of the object that would have been plotted.
main
a main title for the plot
sub
a subtitle for the plot.
xlab
a label string for the x-axis
ylab
a label string for the y-axis
dimension
whether to make a picture of the one-dimensional wavelet or the two-dimensional wavelet.
twodplot
which function to use to produce the two-dimensional plot if dimension=2. The function you supply should accept data just like the contour or persp functions supplied with S-Plus.
enhance
If this argument is TRUE then the plot is enhanced in the following way. Many of Daubechies' compactly supported wavelets are near to zero on a reasonable proportion of their support. So if such a wavelet is plotted quite a lot of it looks to be near zero
efactor
Variable which controls the range of plotting associated with the enhance option above. Any observations smaller than efactor times the range of the absolute function values are deemed to be too small. Then the largest range of ``non-small'' values is sel
scaling.function
If this argument is TRUE the scaling function is plotted otherwise the mother wavelet is plotted.
type
The type
argument supplied to the plot command
...
other arguments you can supply to the plot routine embedded within this function.