## S3 method for class 'topo':
plot(x,
water.z,
water.col,
water.lty,
water.lwd,
land.z,
land.col,
land.lty,
land.lwd,
legend.loc="topright",
asp,
mgp=getOption("oce.mgp"),
mar=c(mgp[1],mgp[1],0.5,0.5),
...)
topo
object, e.g. as read by read.topo
.water.z
values. If
not provided, these will be "fill"
colors from
oce.colors.gebco
.land.z
values. If
not provided, these will be "fill"
colors from
oce.colors.gebco
.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, epar(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")
. 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(topo.maritimes)
plot(topo.maritimes)
Run the code above in your browser using DataLab