plot(wd, xlabels, first.level = 1,
main = "Wavelet Decomposition Coefficients",
sub = wd$filter$name,
xlab = "Translate", ylab = "Resolution Level",
scaling="by.level", rhlab=FALSE, sub, ...)
first.level=1
means that 1
coefficient is plotted."by.level"
or "global"
.plot.wd
, see
plot
.The resolution levels are labelled on the left-hand side axis, and the maximum values of the absolute values of the coefficients for the particular level form the right-hand side axis.
The levels of coefficients can be scaled in two ways. If you are not interested in comparing the relative scales of coefficients from different levels, then the default "scaling" option, "by.level" is what you need. This computes the maximum of the absolute value of the coefficients at a particular level and scales the so that the fit nicely onto the plot. For this option, each level is scaled DIFFERENTLY. To obtain a uniform scale for all the levels specify the "global" option to the "scaling" argument. This will allow you to make inter-level comparisons.
wd and wd.object
plot(wds, rhlab = TRUE) # plotting the wavelet coefficients