View source: R/antimeridian.box.R
antimeridian.box | R Documentation |
Adds a box on maps including the antimeridian (180)
antimeridian.box(object, tick.spacing)
object |
matrix of class bathy |
tick.spacing |
spacing between tick marks (in degrees, default=20) |
The function adds a box and tick marks to an existing plot which contains the antimeridian line (180 degrees).
Eric Pante & Benoit Simon-Bouhet
plot.bathy
data(aleutians)
# default plot:
plot(aleutians,n=1)
# plot with corrected box and labels:
plot(aleutians,n=1,axes=FALSE)
antimeridian.box(aleutians, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.