Learn R Programming

mapsf (version 1.2.0)

mf_credits: Plot credits

Description

Plot credits (sources, author, year...).

Usage

mf_credits(
  txt = "Source(s) & Author(s)",
  pos = "bottomleft",
  col,
  cex = 0.6,
  font = 3,
  bg = NA
)

Value

No return value, credits are displayed.

Arguments

txt

text of the credits, use '\n' to add line breaks

pos

position, one of 'bottomleft', 'bottomright' or 'rightbottom'

col

color of the text, hex code or color name given by colors. The default color is the highlight color (see mf_theme).

cex

cex of the credits

font

font of the credits

bg

background color

Examples

Run this code
mtq <- mf_get_mtq()
mf_map(mtq)
mf_credits(txt = "Author\nSources - Year")

Run the code above in your browser using DataLab