powered by
This is a wrapper for R's text function. See R's documentation for graphics::text for further details.
text( x, y = NULL, labels = seq_along(x), Rcss = "default", Rcssclass = NULL, ... )
coordinates where to write labels
characters to print on the plot
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()
character, style class
Further parameters, see documentation of graphics::text
# NOT RUN { # add text to an existing plot plot(c(0, 1), c(0, 1), type="n") text(0.1, 0.1, "A") text(c(0.2, 0.7), c(0.8, 0.6), c("B", "C")) # }
Run the code above in your browser using DataLab