## S3 method for class 'topo':
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, 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
yoursclongitude
are provided, then any provided value of asp
is ignored, and instead the plot aspect ratio is computed based on the
center latitude. Alclatitude
.clongitude
and clatitude
are supplied).expand
is ignored if either 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
.TRUE
to get latitudes and longitudes
without minus signs."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")
.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, clongitude=-60, clatitude=45, span=10000)
Run the code above in your browser using DataLab