| annotate {ggplot2} | R Documentation |
Add annotations to a plot in a convenient manner
annotate(geom, x = NULL, y = NULL, xmin = NULL, xmax = NULL, ymin = NULL, ymax = NULL, ...)
geom |
name of geom to use for annotation |
x |
x position |
y |
y position |
xmin |
xmin position |
xmax |
ymin position |
ymin |
xmax position |
ymax |
ymax position |
... |
... other arguments passed to geom as parameters |
Hadley Wickham <h.wickham@gmail.com>
annotate("text", x = 0, y = 0, label = "title")