Plot 2-D Packet Costs Objects

DESCRIPTION:

Plots a 2-D packet costs object, one level at a time.

USAGE:

plot(x, level=attr(costs, "n.levels"), 
     plot=T, grid=T, grid.lty=par("lty")+1, axes=T, 
     power.stretch=0.5, x.srt=90, y.srt=0, 
     name.style="pretty", ...) 

REQUIRED ARGUMENTS:

x
a 2-D packet cost table object inheriting from class pcosts.2d.

OPTIONAL ARGUMENTS:

level
an integer indicating the level to be plotted.
plot
logical flag: if TRUE, the image is plotted.
grid
if TRUE, a grid is added between the coefficient blocks (crystals). See pgrid.plot for details.
grid.lty
integer giving the line type for the grid of crystals. See the lty argument for par.
axes
if TRUE, axes are added with labels for the coefficient blocks (crystals).
power.stretch
a numeric value giving the power of the transform applied to the image before it is plotted. If power.stretch=0, then image is transformed with log(abs(x)+1). Otherwise, the image is transformed with abs(x)^power.stretch.
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.
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 can be passed to image and to mtext (if axes=TRUE).

SIDE EFFECTS:

produces an image plot.

VALUE:

the image which is plotted.

DETAILS:

For details about computing and displaying 2-D packet cost tables, refer to the section "Best Basis Selection in 2-D" in the S+WAVELETS Users' Manual.

SEE ALSO:

, , , , .