land.lwd
, may either be a single item, or a vector; in the latter case,
the length must match the length of the corresponding properties, e.g.
land.z
.
"plot"(x, xlab = "", ylab = "", asp, clongitude, clatitude, span, expand = 1.5, water.z, col.water, lty.water, lwd.water, land.z, col.land, lty.land, lwd.land, geographical = FALSE, location = "topright", mgp = getOption("oceMgp"), mar = c(mgp[1] + 1, mgp[1] + 1, 1, 1), debug = getOption("oceDebug"), ...)
topo
object, i.e. inheriting from topo-class
.plot.coastline
to
set the aspect ratio to give natural latitude-longitude scaling somewhere near
the centre latitude on the plot. Often, it makes sense to set asp
yourself, e.g. to get correct shapes at 45N, use asp=1/cos(45*pi/180)
.
Note that the land mass is not symmetric about the equator, so to get good
world views you should set asp=1
or set ylim
to be symmetric
about zero. Any given value of asp
is ignored, if clongitude
and
clatitude
are given.clatitude
.clongitude
are provided, then any provided value of asp
is
ignored, and instead the plot aspect ratio is computed based on the center
latitude. Also, if clongitude
and clatitude
are provided, then
span
must be, also.clongitude
and clatitude
are supplied).expand
is
ignored if either xlim
or ylim
is given.water.z
values. If not
provided, these will be "fill"
colours from
oce.colorsGebco
.NULL
, no land contours will be
plotted.land.z
values. If not
provided, these will be "fill"
colours from
oce.colorsGebco
."none"
, for no legend).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")
.oce
data: plot,adp-method
,
plot,adv-method
,
plot,amsr-method
,
plot,argo-method
,
plot,bremen-method
,
plot,cm-method
,
plot,coastline-method
,
plot,ctd-method
,
plot,gps-method
,
plot,ladp-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,windrose-method
,
plotProfile
, plotScan
,
plotTS
, tidem-class
Other things related to topo
data: [[,topo-method
,
[[<-,topo-method
, as.topo
,
download.topo
, read.topo
,
subset,topo-method
,
summary,topo-method
,
topo-class
, topoInterpolate
,
topoWorld
library(oce)
data(topoWorld)
plot(topoWorld, clongitude=-60, clatitude=45, span=10000)
Run the code above in your browser using DataLab