Energy Plot

DESCRIPTION:
Energy concentration of coefficients under wavelet/cosine packet transfrom.

This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include:

crystal.list, crystal.vector, crystal.matrix, ptable, rob.dwt.


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 par).


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

DETAILS:
See the printed help file for the energy concentration function.

SEE ALSO:
legend , eda_plot .