plot.profile {oce}R Documentation

Plot a CTD profile of various quantities

Description

Plot a CTD profile, in any of several common formats.

Usage

plot.profile(x, type="S", 
col.S="darkgreen", col.t="red",
col.rho="blue", col.N2="brown",
grid=FALSE, col.grid="lightgray",
...)

Arguments

x A cdt object, e.g. as read by read.ctd.
type Type of profile to plot, from the list below.
    S
    Profile of salinity.
    T
    Profile of in-situ temperature.
    sigmatheta
    Profile of density (expressed as sigma_theta).
    S+T
    Profile of salinity and temperature within a single axis frame.
    N2
    Profile of square of buoyancy frequency N^2, calculated with sw.N2 with an optional argument setting of df=length(x$p)/4 to do some smoothing.
    rho+N2
    Profile of density and the square of buoyancy frequency within a single axis frame.
col.S Color for salinity profile.
col.t Color for temperature.
col.rho Color for density.
col.N2 Color for square of buoyancy frequency.
grid Set TRUE to get a grid.
col.grid Grid colour.
... Optional arguments passed to other functions. A common example is to set df, for use in sw.N2 calculations.

Details

Value

None.

Author(s)

Dan Kelley Dan.Kelley@Dal.Ca

References

See Also

read.ctd scans ctd information from a file, and plot.TS plots a temperature-salinity diagram.

Examples

## Not run: 
library(oce)
data(ctd)
# ctd <- read.ctd("ctd.cnv")
summary(ctd)
plot(ctd)
plot.profile(ctd, type="T")
## End(Not run)

[Package oce version 0.1.59 Index]