annotate {ggplot2}R Documentation

Annotate a plot

Description

Add annotations to a plot in a convenient manner

Usage

annotate(geom, x = NULL, y = NULL, xmin = NULL, xmax = NULL, ymin = NULL, ymax = NULL, ...)

Arguments

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

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

annotate("text", x = 0, y = 0, label = "title")

[Package ggplot2 version 0.8.9 Index]