plotTS(x,
inSitu=FALSE,
type="p",
referencePressure=0,
nlevels=6, levels,
grid=TRUE,
col.grid="lightgray",
lty.grid="dotted",
rho1000=FALSE,
eos=getOption("eos", default='unesco'),
cex=par("cex"), col=par("col"), pch=par("pch"),
bg, pt.bg="transparent",
col.rho="darkgray",
cex.rho=3/4*par("cex"),
rotate=FALSE,
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"),
...)
cdt
object or section
object.referencePressure
. This is ignored if eos="teos"
, because
in tha"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 "teos"
. If the latter, then the
computer must have the TEOS library installed; see teos
.
The effect of using "teos"
is to us ``absolutpar("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,
add=TRUE
in the panel
argument of a
coplot
, for example.)TRUE
for use within plotInset
. The
effect is to prevent the present function from adjusting margins, which
is necessary because margin adjustment is the basis for the summary.ctd
summarizes the information, while
read.ctd
scans it from a file.library(oce)
data(ctd)
plotTS(ctd)
Run the code above in your browser using DataLab