plotTS(x, inSitu = FALSE, type = "p", referencePressure = 0, nlevels = 6, levels, grid = TRUE, col.grid = "lightgray", lty.grid = "dotted", rho1000 = FALSE, eos = getOption("oceEOS", default = "gsw"), cex = par("cex"), col = par("col"), pch = par("pch"), bg, pt.bg = "transparent", col.rho = "darkgray", cex.rho = 3/4 * par("cex"), rotate = TRUE, useSmoothScatter = FALSE, xlab, ylab, Slim, Tlim, mgp = getOption("oceMgp"), mar = c(mgp[1] + 1.5, mgp[1] + 1.5, mgp[1], mgp[1]), lwd = par("lwd"), lty = par("lty"), lwd.rho = par("lwd"), lty.rho = par("lty"), add = FALSE, inset = FALSE, debug = getOption("oceDebug"), ...)
ctd
object, i.e. one inheriting from ctd-class
.referencePressure
. This is ignored if eos="gsw"
,
because those cases the y axis is necessarily the conservative formulation
of temperature."p"
for points, "l"
for
connecting lines, or "n"
for no indication.inSitu
is FALSE
.levels
is supplied).TRUE
to get a grid."unesco"
or
"gsw"
.par("cex")
.par("pch")
.inset=TRUE
.)pch
in 21:25smoothScatter
to plot the
points.par(mgp)
, and also
for par(mar)
, computed from this. The default is tighter than the R
default, in order to use more space for the data and less for the axes.par("mar")
. If set to
NULL
, then par("mar")
is used. A good choice for a TS diagram
with a palette to the right is mar=par("mar")+c(0, 0, 0, 1))
.add=TRUE
in the panel
argument of a
coplot
, for example.)xat
and yat
,
values that can be used by oce.grid
to add a grid to the plot.
summary,ctd-method
summarizes the information, while
read.ctd
scans it from a file.Other functions that plot oce
data: plot,adp-method
,
plot,adv-method
,
plot,amsr-method
,
plot,argo-method
,
plot,bremen-method
,
plot,cm-method
,
plot,coastline-method
,
plot,ctd-method
,
plot,gps-method
,
plot,ladp-method
,
plot,lisst-method
,
plot,lobo-method
,
plot,met-method
,
plot,odf-method
,
plot,rsk-method
,
plot,satellite-method
,
plot,sealevel-method
,
plot,section-method
,
plot,tidem-method
,
plot,topo-method
,
plot,windrose-method
,
plotProfile
, plotScan
,
tidem-class
Other things related to ctd
data: [[,ctd-method
,
[[<-,ctd-method
, as.ctd
,
cnvName2oceName
, ctd-class
,
ctdDecimate
, ctdFindProfiles
,
ctdRaw
, ctdTrim
,
ctd
, handleFlags,ctd-method
,
plot,ctd-method
, plotProfile
,
plotScan
, read.ctd.itp
,
read.ctd.odf
, read.ctd.sbe
,
read.ctd.woce.other
,
read.ctd.woce
, read.ctd
,
subset,ctd-method
,
summary,ctd-method
,
woceNames2oceNames
, write.ctd
library(oce)
data(ctd)
plotTS(ctd)
Run the code above in your browser using DataLab