plot.ctd {oce} | R Documentation |
Plot a summary diagram for CTD data.
## S3 method for class 'ctd': plot(x,ref.lat=NaN, ref.lon=NaN, grid=TRUE, col.grid="lightgray", textpanel=TRUE, ...)
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. |
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.
Dan Kelley
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
.
library(oce) data(ctd) plot(ctd)