| plot,argo-method {oce} | R Documentation |
Plot a summary diagram for argo data.
## S4 method for signature 'argo'
plot(x, which = 1, level, coastline = c("best",
"coastlineWorld", "coastlineWorldMedium", "coastlineWorldFine", "none"),
cex = 1, pch = 1, type = "p", col, fill = FALSE,
projection = NULL, mgp = getOption("oceMgp"), mar = c(mgp[1] + 1.5,
mgp[1] + 1.5, 1.5, 1.5), tformat, debug = getOption("oceDebug"), ...)
x |
object inheriting from |
which |
list of desired plot types, one of the following. Note
that
|
level |
depth pseudo-level to plot, for |
coastline |
character string giving the coastline to be used in an Argo-location
map, or |
cex |
size of plotting symbols to be used if |
pch |
type of plotting symbols to be used if |
type |
plot type, either |
col |
optional list of colors for plotting. |
fill |
Either a logical, indicating whether to fill the land with light-gray, or a color name. Owing to problems with some projections, the default is not to fill. |
projection |
indication of the projection to be used
in trajectory maps. If this is |
mgp |
3-element numerical vector to use for |
mar |
value to be used with |
tformat |
optional argument passed to |
debug |
debugging flag. |
... |
optional arguments passed to plotting functions. |
None.
Dan Kelley
Other things related to argo data: [[,argo-method,
[[<-,argo-method, argo-class,
argoGrid, argoNames2oceNames,
argo, as.argo,
handleFlags,argo-method,
read.argo,
subset,argo-method,
summary,argo-method
Other functions that plot oce data: plot,adp-method,
plot,adv-method,
plot,amsr-method,
plot,bremen-method,
plot,cm-method,
plot,coastline-method,
plot,ctd-method,
plot,gps-method,
plot,ladp-method,
plot,landsat-method,
plot,lisst-method,
plot,lobo-method,
plot,met-method,
plot,odf-method,
plot,rsk-method,
plot,satellite-method,
plot,sealevel-method,
plot,section-method,
plot,tidem-method,
plot,topo-method,
plot,windrose-method,
plotProfile, plotScan,
plotTS, tidem-class
library(oce)
data(argo)
tc <- cut(argo[["time"]], "year")
plot(argo, pch=as.integer(tc))
year <- substr(levels(tc), 1, 4)
data(topoWorld)
contour(topoWorld[['longitude']], topoWorld[['latitude']],
topoWorld[['z']], add=TRUE)
legend("bottomleft", pch=seq_along(year), legend=year, bg="white", cex=3/4)