map_labels function

Label longitude and latitude

Label longitude and latitude

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

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.

Examples

LonLabel(0:360)

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

Other functions in metR

Related functions from the same R package