Plot spectra vs. wavelength

# S3 method for class 'spectra'
plot(spectra, type = "l", ...)

Arguments

spectra

Vector (length = length(wavelengths)) or matrix (ncol = length(wavelengths))

type

plot style, e.g. "l" for lines, "b" for lines and points

...

Additional arguments to plot