Learn R Programming

oce (version 0.1-75)

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", 
  textpanel=TRUE, \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
The color of the grid.
textpanel
Set TRUE for bottom-right panel to give a textual overview; set FALSE if you'd like to plot this panel yourself (as the 4th member of a 2-by-2 grid).
...
optional arguments passed to plotting functions. A common example is to set df, for use in sw.N2 calculations.

Details

Creates a four-panel summary plot of data measured in a CTD cast. One panel contains profiles of temperature and salinity, another contains profiles of density and the square of buoyancy frequency, and a third contains a TS diagram. The fourth panel provides information about the cast.

See Also

The profiles are plotted with plot.profile, and the TS diagram is plotted with plot.TS. CTD data can be created with as.ctd or read with read.ctd. Summaries of CTD data are provided by summary.ctd.

Examples

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

Run the code above in your browser using DataLab