Plots the spectra matrix.
plotmat( object, y = ".row", ylab, col = alois.palette(20), ..., contour = FALSE )
object | hyperSpec object |
---|---|
y | character giving the name of the extra data column to label the y axis. |
ylab | y axis label, defaults to |
col | |
... | further parameters for |
contour | should |
If package plotrix is available, a color legend is plotted to the right. The right margin is set to at least 5 lines.
graphics::image()
, graphics::contour()
, levelplot()
Claudia Beleites
plotmat(laser, col = alois.palette(100))plotmat(laser) plotmat(laser, contour = TRUE, add = TRUE)## use different y axis labels plotmat(laser, "t")plotmat(laser, laser$t / 3600, ylab = "t / h")