WaveThresh Help

draw.mwd


Draws a wavelet or scaling function used to compute an `mwd' object

DESCRIPTION

Draws picture of one wavelet or scaling function associated with the multiple wavelet decomposition object. mwd object.

USAGE

draw.mwd(mwd, phi = 0, psi = 0, return.funct = F, ...)

REQUIRED ARGUMENTS

mwd
The mwd class object whose associated wavelet or scaling function you wish to draw.

OPTIONAL ARGUMENTS

phi
If phi is non-zero then the `phi'-th scaling function of the wavelet family used for mwd will be plotted. phi must be between 0 and mwd$filter$nphi.
psi
If psi is non-zero then the `psi'-th wavelet the multiwavelet family used for mwd will be plotted. psi must be between 0 and mwd$filter$npsi.
return.funct
If true then the vector used as phi/psi in the plot command is returned.
...
Additional arguments to pass to the plot function

VALUE

If the return.funct argument is set to TRUE then the function values in the plot are returned otherwise NULL is returned.

SIDE EFFECTS

If the return.funct argument is FALSE a plot of the mother wavelet or scaling function is plotted on the active graphics device.

DETAILS

It is usual to specify just one of phi and psi. IF neither phi nor psi are specified then phi=1 is the default. An error is generated if both phi=0 and psi=0 or if both are nonzero.

RELEASE

Version 3.9.6 (Although Copyright Tim Downie 1995-6).

SEE ALSO

accessC.mwd, accessD.mwd, mfirst.last, mfilter.select, mwd, mwd object, mwr, plot.mwd, print.mwd, putC.mwd, putD.mwd, summary.mwd, threshold.mwd, wd, wr.mwd.

EXAMPLES

#
# Do a multiple wavelet decomposition on vector: ynoise
#
ymwd <- mwd(ynoise,filter.type="Geronimo")
#
# Draw a picture of the second Geronimo wavelet.
#
draw(ymwd,psi=2)