Learn R Programming

oce (version 0.1.62)

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",
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 a

Value

  • None.

item

  • col.S
  • col.t
  • col.rho
  • col.N2
  • grid
  • col.grid
  • ...

code

df

link

sw.N2

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