mapGrid(dlongitude=15, dlatitude=15, longitude, latitude,
col="darkgray", lty="solid", lwd=0.5*par("lwd"), polarCircle=0,
debug=getOption("oceDebug"))
longitude
is supplied, but otherwise determines the longitude sequence.latitude
is supplied, but otherwise determines the latitude sequence.NULL
to prevent drawing
longitude lines.NULL
to prevent drawing
latitude lines.grid
.grid
, except that the
first two arguments of the latter supply the number of lines in the grid,
whereas the present function has increments for the first two arguments.mapPlot
for general information on plotting maps,
including other functions.library(oce)
data(coastlineWorld)
mapPlot(coastlineWorld, type='l', grid=FALSE,
longitudelim=c(-80,10), latitudelim=c(0,120),
projection="+proj=ortho")
mapGrid(15, 15, polarCircle=15)
Run the code above in your browser using DataLab