Learn R Programming

marmap (version 0.9.4)

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)

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).

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