## S3 method for class 'section':
plot(x,
field=NULL,
at=NULL,
labels=TRUE,
grid=TRUE,
col.grid="lightgray",
coastline=NULL,
\dots)section object, e.g. as created by make.section."temperature", "salinity", and "density", although plot.section will accept any named field that is present in the constituent CTD profiles. If NULLNULL (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 indicaat.TRUE, grid lines will be drawn on plots.coastline object, to be used in a station maplabcex=1 will increase the size of contour labels.field is supplied, then just that single
field is contoured. If no field is supplied, then temperature, salinity, and sigma are
contoured. A location plot is also drawn if a coastline is provided; in this, the first
station in the section is indicated with a different symbol than the rest.The y-axis for the contours is pressure, plotted in the conventional reversed form, so that the
water surface appears at the top of the plot. The x-axis is more complicated. If at is
not supplied, then the routine calculates x as the distance between the first station in the
section and each of the other stations. (This will produce an error if the stations are not
ordered geographically, because the contour routine cannot handle non-increasing
axis coordinates.) If at is specified, then it is taken to be the location, in arbitrary
units, along the x-axis of labels specified by labels; the way this works is designed to
be the same as for axis.
make.section, and may
be summarized with summary.section.library(oce)
data(section)
data(coastline.halifax)
plot(section, coastline=coastline.halifax)Run the code above in your browser using DataLab