plotmat: Plot spectra matrix

plotmatR Documentation

Plot spectra matrix

Description

plots the spectra matrix.

Usage

plotmat(
  object,
  y = ".row",
  ylab,
  col = alois.palette(20),
  ...,
  contour = FALSE
)

Arguments

object

hyperSpec object

y

character giving the name of the extra data column to label the y axis.

ylab

y axis label, defaults to "row" and the label of the extra data column used for the y axis, respectively.

col

see image

...

further parameters for image

contour

should contour be called instead of image?

Details

If package plotrix is available, a color legend is plotted to the right. The right margin is set to at least 5 lines.

Author(s)

Claudia Beleites

See Also

image, contour, levelplot

Examples

plotmat (laser, col = alois.palette (100))

plot (laser, "mat")

plotmat (laser)
plotmat (laser, contour = TRUE, add = TRUE)

## use different y axis labels

plotmat (laser, "t")

plotmat (laser, laser$t / 3600, ylab = "t / h")

hyperSpec documentation built on May 29, 2024, 7:28 a.m.