plotTS(x,
inSitu=FALSE,
referencePressure=0,
rhoLevels = 6,
grid = TRUE,
col.grid = "lightgray",
lty.grid = "dotted",
rho1000 = FALSE,
col = par("col"),
col.rho = "darkgray",
cex.rho = 0.9*par("cex"),
cex = par("cex"), pch = 1,
rotateRhoLabels = FALSE,
connectPoints = FALSE,
useSmoothScatter = FALSE,
xlab,
ylab,
Slim,
Tlim,
mgp=getOption("oceMgp"),
mar=c(mgp[1]+1,mgp[1]+1,mgp[1],mgp[1]),
lwd.rho=par("lwd"), lty.rho=par("lty"),
...)cdt object or section object.referencePressure.inSitu is FALSE.pretty() is used to select levels.TRUE to get a grid.par)par).smoothScatter 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").summary.ctd summarizes the information, while
read.ctd scans it from a file.library(oce)
# Plot TS diagram for a mid-Atlantic station at 36N
# See demo(TS) for a section-spanning TS diagram
data(a03)
profile <- a03$data$station[[60]] # 124 stations in total
plotTS(profile)
title("Mid-Atlantic at 36N")Run the code above in your browser using DataLab