Plot Packet Costs Objects

DESCRIPTION:
Plots packet costs objects.

USAGE:
plot(x, grid=T, grid.lty=par("lty")+1, ylab="Level",
     plot=T, xlab="", rescale=T, ...)

REQUIRED ARGUMENTS:
x:
a pcosts object.

OPTIONAL ARGUMENTS:
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.
ylab:
label for plotting beside the y-axis.
plot:
logical flag: if TRUE, the image is plotted.
xlab:
label for plotting below the x-axis.
rescale:
logical flag: if TRUE, the costs will be multiplied by the number of coefficients in the corresponding crystal.
...:
additional arguments can be passed to image, to pgrid.plot (if grid=TRUE), and to mtext (if axes=TRUE).

VALUE:
the image which is plotted.

SIDE EFFECTS:
produces an image plot of the packet cost table.

DETAILS:
For details about computing and displaying packet cost tables, refer to the section "The Best Basis Algorithm" in the S+WAVELETS Users' Manual.

SEE ALSO:
pcosts , image .