This function returns a ggplot object with an annotated plot of an object_spct displaying spectral transmittance, absorptance and reflectance.
O_plot(spct, w.band, range, pc.out, label.qty, span, annotations, stacked,
text.size, na.rm, ylim, ...)
an object_spct object.
list of waveband objects.
an R object on which range() returns a vector of length 2, with min annd max wavelengths (nm).
logical, if TRUE use percents instead of fraction of one.
character string giving the type of summary quantity to use for labels.
a peak is defined as an element in a sequence which is greater than all other elements within a window of width span centered at that element.
a character vector.
logical.
numeric size of text in the plot decorations.
logical.
numeric y axis limits,
currently ignored.
a ggplot
object.