plot.topo {oce}R Documentation

Plot topography (ETOPO2) data

Description

Plot contours of topographic data.

Usage

## S3 method for class 'topo':
plot(x, water.z, water.colors, land.z,
land.colors, legend.loc="topright", lwd=par("lwd"), ...)

Arguments

x an topo object, e.g. as read by read.topo.
water.z depths at which to plot water contours. If not provided, these are inferred from the data.
water.colors colors corresponding to water.z values. If not provided, these will be "fill" colors from gebco.colors.
land.z depths at which to plot land contours. If not provided, these are inferred from the data.
land.colors colors corresponding to land.z values. If not provided, these will be "fill" colors from gebco.colors.
legend.loc location for a legend (or FALSE, for no legend).
lwd line width for contours
... additional arguments passed on to plotting functions

Details

The plot aspect ratio is set based on the middle latitude in the plot. Be aware that the ETOPO2 data are on a 2-minute (roughly 2-mile) spacing, and coastlines created with such data can be quite inaccurate on scales of 100km or less.

Author(s)

Dan Kelley

See Also

TOPO data can be created with read.topo and summarized with summary.topo.

Examples

library(oce)
data(topo.maritimes)
plot(topo.maritimes)

[Package oce version 0.1.71 Index]