Plot a Crystal Matrix Object

DESCRIPTION:

Plots a crystal matrix object.

USAGE:

plot(x, grid=T, labels=F, axes=T, xlab=NULL, ylab=NULL, 
     x.srt=90, y.srt=0, stretch.image=T, low.pass=T,  
     power.stretch=0.5, name.style=NULL,...) 
      

REQUIRED ARGUMENTS:

x
an object of class crystal.matrix, which includes 2-D discrete wavelet transform, wavelet packet transform, and cosine packet transform objects.

OPTIONAL ARGUMENTS:

grid
if TRUE, a grid is added between the coefficient blocks (crystals). See pgrid.plot for details.
labels
if TRUE, then crystal.names will be printed in the middle of the coefficient blocks.
axes
logical flag, if TRUE axes are added.
xlab
label for plotting below the x-axis.
ylab
label for plotting beside the y-axis.
x.srt
string rotation in degrees for labels in x.axis, same as srt in par, in effect when axes=TRUE.
y.srt
string rotation in degrees for labels in y.axis, same as srt in par, in effect when axes=TRUE.
stretch.image
logical flag, if TRUE the image is transformed to enhance the plot using the stretch function.
low.pass
logical flag, if TRUE the smooth/low-frequency coefficients are scaled to have the same dynamic range as the remaining coefficients. Only for 2-D DWT and 2-D wavelet packet transforms.
power.stretch
a numeric value giving the power of the transform if stretch.image is TRUE. If power.stretch=0, then image is transformed with log(abs(x)+1). Otherwise, the image is transformed with abs(x)^power.stretch.
name.style
crystal name styles: one of the character strings "pretty" or "filter". Only for 2-D DWT and 2-D wavelet packet transforms. See crystal.names for details. The default is wavelet.options()$name.style.
...
additional arguments may be passed to the image function.

VALUE:

the image which is plotted.

SIDE EFFECTS:

produces an image plot of the coefficient matrix.

SEE ALSO:

, , .