powered by
Adds spectra to an existing plot created by spc.plot() using lines()
spc.lines(x,...)# S4 method for Spectra spc.lines(x, ...)
# S4 method for Spectra spc.lines(x, ...)
An object of class Spectra
Spectra
Additional input arguments to be passed to lines()
spc.plot
# NOT RUN { sp = spc.example_spectra() spc.plot(sp[2,]) spc.lines(sp[3,],col="red") # }
Run the code above in your browser using DataLab