Energy Plot

DESCRIPTION:

Energy concentration of coefficients under wavelet/cosine packet transfrom.

This function is an S Version 3 generic (see Methods); method functions can be written to handle specific S Version 3 classes of data. Classes which already have methods for this function include:
`crystal.list, crystal.vector, crystal.matrix, wp.table cp.table,cp.table.list wp.table.list, rob.dwt, rob.dwt.list'

USAGE:

energy.plot(basis, log="x", x.legend=NULL, y.legend=NULL, ...) 

REQUIRED ARGUMENTS:

basis
a 1-D or 2-D transform object.

OPTIONAL ARGUMENTS:

log
controls logarithmic axes, as in par.
x.legend
x axis location of the rectangle in which to put the legend, same as the x argument in S-PLUS function legend. The default is x.legend=sqrt(n) if log="x"; x.legend=n/2 otherwise, where n=sample.size.
y.legend
y axis location of the rectangle in which to put the legend, same as the y argument in S-PLUS function legend. The default is y.legend=0.8log10(ymin)/(1-ymin) if log="y"; y.legend=0.2 otherwise, where ymin=min(y).

Graphical parameters may also be supplied as arguments to this function (see ).

SIDE EFFECTS:

produces a plot of two curves: solid line for wavelet coefficients and dashed line for the original data.

DETAILS:

SEE ALSO:

, .