add.map.text: Add Map Text

View source: R/map.plot.R

add.map.textR Documentation

Add Map Text

Description

Add Map Text

Usage

add.map.text(
  map,
  lon,
  lat,
  text,
  col = "black",
  cex = 1,
  adj = NULL,
  pos = NULL,
  ...
)

Arguments

lon

longitude position of the text or a vector of positions

lat

latitude position of the text or a vector of positions

text

a string or vector of strings for the text to be written

col

text color

cex

size of the text to be written

adj

one or two values in [0, 1] which specify the x (and optionally y) adjustment of the labels.

pos

a position specifier for the text. If specified this overrides any adj value given. Values of 1, 2, 3 and 4, respectively indicate positions below, to the left of, above and to the right of the specified coordinates.

Author(s)

Thomas Bryce Kelly

Laura Whitmore


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.