Learn R Programming

geoSpectral (version 0.17.5)

spc.plot.depth: Plotting Spectra object

Description

Generating plot of the contents of a Spectra object with respect to depth

Usage

spc.plot.depth(object, ...)

# S4 method for Spectra spc.plot.depth( object, X, maxSp = 10, lab_cex, title, add = FALSE, xlab = NULL, ylab = NULL, ylim = NULL, xlim = NULL, lwd = 2, ... )

Arguments

object

a Spectra data.

...

any further arguments of plot

X

character. Column names of the a Spectra object to be plotted.

maxSp

numeric. Maximum number of Spectra to plot.

lab_cex

vector of character expansion sizes, used cyclically.

title

a chracter string, title for plot

add

logical. If TRUE, plots are added to current one,

xlab, ylab

titles for x and y axes, as in plot.

ylim, xlim

ranges of x and y axes, as in plot.

lwd

numeric vector of line widths

See Also

spc.plot

Examples

Run this code
# NOT RUN {
x <- spc.example_spectra()
spc.plot.depth(x)

# }

Run the code above in your browser using DataLab