| draw.wd {wavethresh} | R Documentation |
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).
## S3 method for class 'wd': draw(x, ...) draw.imwd (x, resolution = 128, ...) draw.imwdc(x, resolution = 128, ...)
x |
Object of class wd, imwd, or imwdc,
typically from a wavelet decomposition using
the wd, imwd, or
threshold function. |
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. |
Sometimes it is more convenient to use this function rather than
draw.default, since you want a picture of the wavelet
that did your decomposition.
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)