Plots spectral signatures

Description

Plots spectral signatures. Each line represents a single sample.

Usage

1
2
## S4 method for signature 'Spectra,ANY'
plot(x, y, ...)

Arguments

x

object of class "Spectra"

y

ignored

...

other optional arguments

Details

Wavenumbers are shown on the x-axis at the bottom. The second top x-axis displays the equivalent of wavenumbers interms of wavelengths.

Author(s)

Andrew Sila and Tomislav Hengl

Examples

1
2
3
4
5
6
7
## Not run: ## Original binary Opus files:
pth = system.file(package = "soil.spec")
lst <- as.list(list.files(path=pth, pattern="*.0$", full.names=TRUE))
xx <- read.opus(lst[[1]])
plot(xx@data)

## End(Not run)