plot.Spectra: Plots spectral signatures

Description Usage Arguments Details Author(s) Examples

View source: R/plot.spectra.R

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)

soil.spec documentation built on May 30, 2017, 2:19 a.m.