axisMap: Draw axes on Maps

View source: R/utils.R

axisMapR Documentation

Draw axes on Maps

Description

Draw checkerboard-style axes on a map with appropriate scales and annotations.

Usage

axisMap(latitude = FALSE, width = 0.05, len = 1,
        cols = c("black", "white"), ...)

Arguments

latitude

by default axes are drawn for the longitudes (above and below the map). Use latitude = TRUE to draw axes for the latitudes (left and right sides of the map).

width

the width of the bands.

len

the length (increment) of the bands.

cols

the alternate colours of the bands.

...

further arguments passed to axis (see examples).

Details

The axes are drawn as bands of width given by the argument of the same name and alternate colors according to len.

Author(s)

Emmanuel Paradis

Examples

require(maps)
map()
axisMap(len = 10)
## 'las' is passed with '...'
axisMap(TRUE, len = 10, las = 0)

emmanuelparadis/sentinel documentation built on May 2, 2024, 4:52 a.m.