Optimize the location of text labels to minimize overplotting text.
label_auto(
x,
y = NULL,
...,
labels = seq_along(x),
segment = FALSE,
box = FALSE
)
label_auto()
is called it for its side-effects.
A numeric
vector giving the x and y coordinates of a set of
points. If y
is NULL
, an attempt is made to interpret x
in a suitable
way (see grDevices::xy.coords()
).
Further arguments to be passed to graphics::text()
,
particularly, character expansion, cex
and color, col
.
A character
vector or expression
specifying the text
to be written.
A logical
scalar.
A logical
scalar.
N. Frerebeau
Other graphic tools:
circle()
,
inch2line()
,
label_percent()