Learn R Programming

metR (version 0.3.0)

map_labels: Label longitude and latitude

Description

Provide easy functions for adding suffixes to longitude and latitude for labeling 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: DivideTimeseries, 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

Run this code
# NOT RUN {
LonLabel(0:360)

# }

Run the code above in your browser using DataLab