mapMeridians {oce} | R Documentation |
WARNING: This function will be removed soon; see oce-deprecated.
Use mapGrid
instead of the present function.
mapMeridians(latitude, lty = "solid", lwd = 0.5 * par("lwd"), col = "darkgray", ...)
latitude |
either a logical value indicating whether to draw a meridian grid, or a vector of latitudes at which to draw meridians. |
lty |
line type. |
lwd |
line width. |
col |
line colour. |
... |
optional arguments passed to |
Plot meridians (lines of constant latitude) on an existing map.
Meridians 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
, mapZones
## Not run: library(oce) data(coastlineWorld) longitude <- coastlineWorld[['longitude']] latitude <- coastlineWorld[['latitude']] mapPlot(longitude, latitude, type='l', longitudelim=c(-130,-50), latitudelim=c(30,60), proj="polyconic", orientation=c(90, -90, 0)) mapMeridians() ## End(Not run)