plot.Ag: Plot CDOM spectra

Description Usage Arguments Details Author(s) See Also Examples

View source: R/plot.Ag.R

Description

Plot the CDOM spectra stored in an Ag list returned by process.Ag.

Usage

1
2
## S3 method for class 'Ag'
plot(path.png, Ag, PNG = TRUE)

Arguments

path.png

is the path where the png file will be saved

Ag

is a list return by process.Ag.

PNG

is a logical parameter indicating whether or not the plots are save in a PNG file. Default is TRUE.

Details

Four plots are produced with the same three spectra but with different z-axis and x-axis. The three spectra are the raw (black), the corrected spectra assuming NULL point at 690 nm (red) and the fitted spectra on the 350 to 500 nm range (green).

Author(s)

Simon Belanger

See Also

process.Ag

Examples

1
2
3
4
5
setwd(path.package("RspectroAbs"))
sample = read.LAMBDA850("data/433423.Sample.Raw.csv1")
Ag = process.Ag(sample, ID=433423,
               Station="L3_20.5", Depth=99,pathlength=0.1)
plot.Ag("./",Ag, PNG=FALSE)

belasi01/RspectroAbs documentation built on July 27, 2020, 9:52 p.m.