## S3 method for class 'pt':
plot(x,
which=1:4, title="", adorn=NULL,
tlim, plim, Tlim,
xlab, ylab,
drawTimeRange=getOption("oceDrawTimeRange"),
abbreviateTimeRange=getOption("oceAbbreviateTimeRange"),
useSmoothScatter=FALSE,
mgp=getOption("oceMgp"),
mar=c(mgp[1]+1.5,mgp[1]+1.5,1.5,1.5),
main="",
debug=getOption("oceDebug"),
...)
pt
object, typically result of read.pt
.which
.which
=2)smoothScatter
to be used for profile plots, instead of
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")
.which=1
or"temperature"
for a time-series plot of
temperaturewhich=2
or"text"
for textual information about
the datasetwhich=3
or"pressure"
for a time-series plot of pressurewhich=4
or"profile"
for a temperature ``profile''read.pt
for more information on dealing
with the pt
data type, including examples.data(ptr)
plot(ptr, which=c(1,3),
adorn=expression({abline(v=as.POSIXct('2008-07-04 20:00:00',tz='UTC'))}))
Run the code above in your browser using DataLab