Plots the spectra matrix.
plotmat(
object,
y = ".row",
ylab,
col = palette_alois(20),
...,
contour = FALSE
)
hyperSpec object
character giving the name of the extra data column to label the y axis.
y axis label, defaults to "row"
and the label of the extra data column used
for the y axis, respectively.
further parameters for graphics::image()
should graphics::contour()
be called instead of
graphics::image()
?
If package plotrix is available, a color legend is plotted to the right. The right margin is set to at least 5 lines.
plotmat(laser, col = palette_alois(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")