map_labels: Label longitude and latitude

map_labelsR Documentation

Label longitude and latitude

Description

Provide easy functions for adding suffixes to longitude and latitude for labelling maps.

Usage

LonLabel(lon, east = "°E", west = "°W", zero = "°")

LatLabel(lat, north = "°N", south = "°S", zero = "°")

Arguments

lon

longitude in degrees

east, west, north, south, zero

text to append for each quadrant

lat

latitude in degrees

Details

The default values are for Spanish.

See Also

Other ggplot2 helpers: MakeBreaks(), WrapCircular(), geom_arrow(), geom_contour2(), geom_contour_fill(), geom_label_contour(), geom_relief(), geom_streamline(), guide_colourstrip(), reverselog_trans(), scale_divergent, scale_longitude, stat_na(), stat_subset()

Examples


LonLabel(0:360)


metR documentation built on Nov. 2, 2023, 6:01 p.m.