plotProfile(x,
xtype="salinity+temperature",
ytype=c("pressure", "z", "sigmaTheta"),
col.salinity="darkgreen",
col.temperature="red",
col.rho="blue",
col.N2="brown",
col.dpdt="darkgreen",
col.time="darkgreen",
grid=TRUE,
col.grid="lightgray",
lty.grid="dotted",
Slim, Tlim, densitylim, N2lim, dpdtlim, timelim, ylim,
lwd=par("lwd"),
xaxs="r", yaxs="r",
cex=1, pch=1,
useSmoothScatter=FALSE,
keepNA=FALSE,
type='l',
mgp=getOption("oceMgp"),
mar=c(1 + if (length(grep('\\+', xtype))) mgp[1] else 0, mgp[1]+1, mgp[1] + 2, 1),
debug=getOption("oceDebug"),
...)
cdt
object, e.g. as read by read.ctd
.TRUE
to get a grid.par
xaxs
to usepar
yaxs
to usepar
)par
).TRUE
to use
smoothScatter
instead of plot
to draw
the plot.plot
.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")
.df
, for use in swN2 calculations.read.ctd
scans ctd information from a file, and
plotTS
plots a temperature-salinity diagram.library(oce)
data(ctd)
plotProfile(ctd, xtype="temperature")
Run the code above in your browser using DataLab