## S3 method for class 'topo':
plot(x,
xlab="", ylab="",
asp,
center, span,
expand=1.5,
water.z,
col.water,
lty.water,
lwd.water,
land.z,
col.land,
lty.land,
lwd.land,
location="topright",
mgp=getOption("oceMgp"),
mar=c(mgp[1]+1,mgp[1]+1,1,1),
debug=getOption("oceDebug"),
...)
topo
object, e.g. as read by read.topo
.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, espan
.)center
is supplied).expand
is ignored if either water.z
values. If
not provided, these will be "fill"
colors from
oceColorsGebco
.NULL
, no land
contours will be plotted.land.z
values. If
not provided, these will be "fill"
colors from
oceColorsGebco
.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")
.TRUE
to get some debugging
information. The line properties, such as 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
.
read.topo
and
summarized with summary.topo
.library(oce)
data(topoWorld)
plot(topoWorld)
Run the code above in your browser using DataLab