add_annotation | R Documentation |
All parameters not explicitly described here are simply passed to
annotate
.
add_annotation(p, position = "bottom", ...)
p |
ggplot2 object, output from |
position |
Position of the geometry layer, either "bottom" or "top". By default lines are added below all other lines in the plot to not obscure them, but by setting position to "top", these lines can also be plotted above other lines. |
Simple wrapper for annotate
to add
annotations to nested loop plot. Useful to display e.g. ribbons that
indicate certain areas of interest within a plot.
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.