Usage
## S3 method for class 'section':
plot(x,
field=NULL,
at=NULL,
labels=TRUE,
grid=FALSE,
col.grid="lightgray",
station.indices,
coastline=NULL,
map.xlim=NULL,
\dots)
Arguments
field
is the field to plot. Common options are "temperature", "salinity", and "density", although plot.section will accept any named field that is present in the constituent CTD profiles. If NULL
at
if NULL (the default), the x axis will indicate the distance of the stations from the first in the section. (This may give errors in the contouring routine, if the stations are not present in a geographical order.) If a list, then it indica
labels
either a logical, indicating whether to put labels on the x axis, or a vector that is a list of labels to be placed at the x positions indicated by at.
grid
if TRUE, grid lines will be drawn on plots.
col.grid
color of grid lines.
station.indices
optional list of the indices of stations to use. Note that these are indices, not the names of stations, e.g. to focus on the first four stations, use station.numbers=c(1,4).
coastline
optional coastline to be used in a station map
map.xlim
optional xlim for station location, which can be helpful in ensuring that a recognizable coastline can be seen
...
optional arguments passed to the contouring function, e.g. using
labcex=1 will increase the size of contour labels. Probably the most
common use, though, is to specify contours for individually plotted fields, e.g. plot.section(s