Learn R Programming

oce (version 0.1-76)

plot.profile: 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",
col.dpdt="darkgreen",
col.time="darkgreen",
grid=FALSE, 
col.grid="lightgray",
Slim, Tlim, densitylim, N2lim, plim, dpdtlim, timelim,
lwd,
...)

Arguments

x
A cdt object, e.g. as read by read.ctd.
type
Type of profile to plot, from the list below. [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
col.S
Color for salinity profile.
col.t
Color for temperature.
col.rho
Color for density.
col.N2
Color for square of buoyancy frequency.
col.dpdt
Color for dP/dt.
col.time
Color for delta-time.
grid
Set TRUE to get a grid.
col.grid
Grid colour.
Slim
Optional limit for S axis
Tlim
Optional limit for T axis
densitylim
Optional limit for density axis
N2lim
Optional limit for N2 axis
plim
Optional limit for p axis
dpdtlim
Optional limit for dp/dt axis
timelim
Optional limit for delta-time axis
lwd
lwd value for data line
...
Optional arguments passed to other functions. A common example is to set df, for use in sw.N2 calculations.

Value

  • None.

See Also

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

Examples

Run this code
library(oce)
data(ctd)
# ctd <- read.ctd("ctd.cnv")
summary(ctd)
plot(ctd)
plot.profile(ctd, type="T")

Run the code above in your browser using DataLab