mapZones {oce} | R Documentation |
WARNING: This function will be removed soon; see oce-deprecated.
mapZones(longitude, polarCircle = 0, lty = "solid", lwd = 0.5 * par("lwd"), col = "darkgray", ...)
longitude |
either a logical indicating whether to draw a zonal grid, or a vector of longitudes at which to draw zones. |
polarCircle |
a number indicating the number of degrees of latitude extending from the poles, within which zones are not drawn. |
lty |
line type. |
lwd |
line width. |
col |
line colour. |
... |
optional arguments passed to |
Use mapGrid
instead of the present function.
Plot zones (lines of constant longitude) on a existing map.
Zones that will not fit in the plotting space are ignored.
This should use approx
to fill in multiple
segments within the line, so that e.g. great circle lines will be curved.
Dan Kelley
A map must first have been created with mapPlot
.
Other functions that will be removed soon: addColumn
,
ctdAddColumn
,
ctdUpdateHeader
, mapMeridians
## Not run: library(oce) data(coastlineWorld) longitude <- coastlineWorld[['longitude']] latitude <- coastlineWorld[['latitude']] mapPlot(longitude, latitude, type='l', grid=FALSE, longitudelim=c(-80,10), latitudelim=c(0,120), projection="orthographic", orientation=c(45,-100,0)) mapZones() ## End(Not run)