plotSpectra: Spectral plot

Description Usage Arguments

Description

Shows a plot with resolved spectra

Usage

1
2
3
4
plotSpectra(obj, comp = 1:obj$ncomp, origspec = NULL, show.labels = T,
  show.legend = T, legend.str = NULL, ylim = NULL, xlim = NULL,
  col = getColors(length(comp)), lty = 1, lwd = 1, xlab = "Wavenumbers",
  ylab = "Intensity", main = "Resolved spectra", ...)

Arguments

obj

object with unmixing results

comp

which components make the plot for

origspec

original spectral data used for unmixing

show.labels

logical, show or not labels for the selected pure variables on the plot

show.legend

logical, show or not a legend for the plot

legend.str

a vector with legend items

ylim

limits for y-axis

xlim

limits for x-axis

col

color for the component spectra

lty

line type for the component spectra

lwd

line width for the component spectra

xlab

label for x axis

ylab

label for y axis

main

main title for the plot

...

other maplot parameters


svkucheryavski/supure documentation built on May 30, 2019, 9:32 p.m.