spc.lines: Add spectra to an existing plot

Description Usage Arguments See Also Examples

Description

Adds spectra to an existing plot created by spc.plot() using lines()

Usage

1
2
3
4
spc.lines(x,...)

## S4 method for signature 'Spectra'
spc.lines(x, ...)

Arguments

x

An object of class Spectra

...

Additional input arguments to be passed to lines()

See Also

spc.plot

Examples

1
2
3
sp = spc.example_spectra()
spc.plot(sp[2,])
spc.lines(sp[3,],col="red")

PranaGeo/Spectral documentation built on Feb. 21, 2020, 12:36 p.m.