BfSStamp {bfsMaps} | R Documentation |
Stamp the Current Plot
Description
Stamp the current plot in the lower right corner with the copyright of the BfS-maps:
"Kartengrundlage: (c) BFS, ThemaKart, 20xx"
This copyright is mandatory for all maps in public publications. The default coodinates are chosen by default in the bottomright corner of a Swiss map, but can be redefined by user.
Usage
BfSStamp(xy = NULL,
year_n = getOption("bfsMaps.year", Year(Today())),
txt = NULL, cex = 0.6, adj = c(1,0), ...)
Arguments
xy |
the coordinates for the text to be placed. |
year_n |
the year for the compulsory BfS copyright message. |
txt |
the text to be used. |
cex |
the character extension for the text (default is 0.6) |
adj |
one or two values in [0, 1] which specify the x (and optionally y) adjustment ('justification') of the labels, with 0 for left/bottom, 1 for right/top, and 0.5 for centered. On most devices values outside [0, 1] will also work. See below. |
... |
the dots are passed to the function |
Details
The default value for the year can be entered as option in the .Rprofile file. bfsMaps.year=2022 would set the default to 2022.
Value
None
Author(s)
Andri Signorell <andri@signorell.net>
See Also
Stamp()