## S3 method for class 'pt':
plot(x,
which=1:4, title=deparse(substitute(x)), adorn=NULL,
tlim, plim, Tlim,
xlab, ylab,
draw.time.range=getOption("oce.draw.time.range"),
mgp=getOption("oce.mgp"),
mar=c(mgp[1], mgp[1]+1, 1, 1.5),
...)
pt
object, typically result of read.pt
.which
=2)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")
.which
=1 for a timeseries
plot of temperature,
which
=2 for textual information about the dataset,
which
=3 for a timeseries plot of pressure,
and
which
=4 for a scatterplot of the temperature profile, . You
may supply a list of which
values, to get multi-panel plots.read.pt
for more information on dealing
with the pt
data type, including examples.data(pt)
plot(pt, which=c(1,3),
adorn=expression({abline(v=as.POSIXct('2008-07-04 20:00:00',tz='UTC'),col='red')}))
Run the code above in your browser using DataLab