Description Usage Arguments Value Examples
Get the text annotations for a plot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | annotationText(object)
## S4 method for signature 'PlotFeatureSet'
annotationText(object)
## S4 method for signature 'ggplot'
annotationText(object)
## S4 method for signature 'trellis'
annotationText(object)
## S4 method for signature 'gTree'
annotationText(object)
## S4 method for signature 'PlotFeatureSet'
annotationText(object)
|
object |
An object of class PlotFeatureSet, GGplotFeatureSet, TrellisFeatureSet, ggplot, or trellis. |
A character vector of text annotations appearing on the plot.
1 2 3 4 5 | library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
annotationText(fs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.