add_corner_label: Simple function for placing text labels in the corner of a...

Description Usage Examples

Description

Designed for labelling figures in the corner with 'A', 'B', and so on. Finds the coordinates for you.

Usage

1
2
add_corner_label(txt, where, inset = 0.08, inset.x = inset,
  inset.y = inset, log.y = FALSE, log.x = FALSE, ...)

Examples

1
2
3
4
5
6
o <- par(mfrow=c(1,2))
with(iris, {
  plot(Sepal.Width, Sepal.Length, panel.last=add_corner_label("A","topleft"))
  plot(Petal.Width, Petal.Length, panel.last=add_corner_label("B","topleft"))
  })
par(o)

RemkoDuursma/plover documentation built on May 9, 2019, 9:39 a.m.