Learn R Programming

marmap (version 1.0.10)

antimeridian.box: Adds a box to maps including antimeridian

Description

Adds a box on maps including the antimeridian (180)

Usage

antimeridian.box(object, tick.spacing)

Value

The function adds a box and tick marks to an existing plot which contains the antimeridian line (180 degrees).

Arguments

object

matrix of class bathy

tick.spacing

spacing between tick marks (in degrees, default=20)

Author

Eric Pante & Benoit Simon-Bouhet

See Also

plot.bathy

Examples

Run this code
data(aleutians)

# default plot:
plot(aleutians,n=1)

# plot with corrected box and labels:
plot(aleutians,n=1,axes=FALSE)
antimeridian.box(aleutians, 10)

Run the code above in your browser using DataLab