Learn R Programming

oce (version 0.1.63)

plot.ctd: Plot seawater (CTD) data

Description

Plot a summary diagram for CTD data.

Usage

## S3 method for class 'ctd':
plot(x,ref.lat=NaN, ref.lon=NaN, grid=TRUE, col.grid="lightgray", \dots)

Arguments

x
A cdt object, e.g. as read by read.ctd.
ref.lat
Latitude of reference point for distance calculation
ref.lon
Longitude of reference point for distance calculation
grid
Set TRUE to get a grid on all plots.
col.grid
Color of grid.
...
optional arguments passed to plotting functions. A common example is to set df, for use in sw.N2 calculations.

Value

  • None.

Details

Creates a summary plot for a CTD cast, with a temperature-salinity diagram as well as profiles of temperature, salinity, and density; a table of information about the cast is also plotted.

See Also

summary.ctd summarizes the information, while read.ctd scans it from a file.

Examples

Run this code
library(oce)
data(ctd) 
plot(ctd)

Run the code above in your browser using DataLab