plot.profile(x,
xtype="S",
ytype=c("pressure", "z"),
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,
xaxs="r", yaxs="r",
cex=1,
useSmoothScatter=FALSE,
mgp=getOption("oceMgp"),
mar=c(mgp[1]+1, mgp[1]+1, mgp[1] + 1.5, 1),
...)
cdt
object, e.g. as read by read.ctd
.TRUE
to get a grid.par
xaxs
to usepar
yaxs
to useTRUE
to use
smoothScatter
instead of plot
to draw
the 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
plot.TS
plots a temperature-salinity diagram.library(oce)
data(ctd)
plot.profile(ctd, xtype="T")
Run the code above in your browser using DataLab