## S3 method for class 'argo':
plot(x, which = 1, level,
coastline=c("best", "coastlineWorld", "coastlineWorldMedium",
"coastlineWorldFine", "none"),
cex=1, pch=1, type='p', col, fill=FALSE,
adorn=NULL,
projection=NULL, parameters=NULL, orientation=NULL,
mgp=getOption("oceMgp"), mar=c(mgp[1]+1.5, mgp[1]+1.5, 1.5, 1.5),
tformat,
debug=getOption("oceDebug"), ...)
argo
object, e.g. as read by read.argo
.which=1
orwhich="trajectory"
gives a
plot of the argo trajectory, with the coastline, if one is provided.which=2
or"salinity ts"
gives a timewhich=2
and higher. May be an
integer, in which case it refers to an index of depth (1 being the top)
or it may be the string "all" which means to plot all data."best"
to pick the one with highest resolution, or
"none"
to avoid drawing the coastline.type='p'
.type='p'
."l"
or "p"
.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.mapPlot
. If
projection="automatic"
, however, a projection is devised from
the data, with stereographic
if the meapar("mar")
.oce.plot.ts
, for
plot types that call that function. (See strptime
for the
format used.)argo-class
explains the
structure of argo objects, and also outlines the other functions dealing
with them.library(oce)
data(argo)
plot(argo, which="trajectory")
Run the code above in your browser using DataLab