Text Mapping
Parameters
X-axis value.
Y-axis value.
Text to add to plot.
Transparency level of a layer. Understands numbers between 0 and 1.
Color of the geometry. For more info see: aesthetics.html#color-and-fill.
Font size.
For more info see: aesthetics.html#font-family.
For more info see: aesthetics.html#font-face.
horizontal text alignment relative to the x-coordinate. Possible values: 0 or "left" - left-aligned (text starts at x), 0.5 or "middle" (default) - text is centered on x, 1 or "right" - right-aligned (text ends at x). There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).
vertical text alignment relative to the y-coordinate. Possible values: 0 or "bottom" - bottom-aligned (bottom of text at y), 0.5 or "center" (default) - middle of text at y, 1 or "top" - top-aligned (top of text at y). There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).
Text rotation angle in degrees.
Line height multiplier applied to the font size in the case of multi-line text.
Grouping key. If not set, grouping may be inferred from other aesthetics (e.g., color, size).
Auxiliary paint channel A that can be used as either color
or fill
as needed. Map a variable here for composite/multi-channel color with a matching scale.
Auxiliary paint channel B. See paint_a
.
Auxiliary paint channel C. See paint_a
.