Learn R Programming

wavethresh (version 2.2-11)

draw.wd: Draw Wavelet Corresponding to Wavelet Object

Description

Draws picture of the wavelet associated with (1D or 2D) wavelet decomposition object wd, as opposed to drawing wd itself (which is achieved by the corresponding plot method, such as plot.wd).

Usage

## S3 method for class 'wd':
draw(x, \dots)draw.imwd (x, resolution = 128, ...)
draw.imwdc(x, resolution = 128, ...)

Arguments

x
Object of class wd, imwd, or imwdc, typically from a wavelet decomposition using the wd, imwd, or
resolution
integer specifying the resolution to use in drawing. A higher resolution gives a better quality picture but will take longer to draw (especially in two dimensions).
...
further arguments to draw.default.

Details

Sometimes it is more convenient to use these methods explicitly rather than the default one (draw.default), since you want a picture of the wavelet that did your decomposition.

See Also

draw.default, wd.

Examples

Run this code
example(wd)
# Draw a picture of the wavelets that were used
draw(wds); abline(h=0,v=0, lty=3, lwd=.5)

example(imwd)
# Draw a picture of the 2D wavelet that used
draw(imwdL)

Run the code above in your browser using DataLab