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 or section
object.referencePressure
. This is ignored if eos="gsw"
,
because those c"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,
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 xat
and yat
,
values that can be used by oce.grid
to add a grid to the
plot.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