antimeridian.box: Adds a box to maps including antimeridian

View source: R/antimeridian.box.R

antimeridian.boxR Documentation

Adds a box to maps including antimeridian

Description

Adds a box on maps including the antimeridian (180)

Usage

antimeridian.box(object, tick.spacing)

Arguments

object

matrix of class bathy

tick.spacing

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

Value

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

Author(s)

Eric Pante & Benoit Simon-Bouhet

See Also

plot.bathy

Examples

data(aleutians)

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

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

marmap documentation built on March 31, 2023, 6:59 p.m.