title {Rcssplot} | R Documentation |
Add styled annotation to a plot
Description
This is a wrapper for R's title function. See R's documentation for graphics::title for further details.
Usage
title(
main = NULL,
sub = NULL,
xlab = NULL,
ylab = NULL,
Rcss = "default",
Rcssclass = NULL,
...
)
Arguments
main |
plot title |
sub |
plot sub title |
xlab , ylab |
labels on axes |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of graphics::title |
Examples
# add a title
plot(c(0, 1), c(0, 1), type="n", xlab="", ylab="")
title("This is the title")
title(sub="This is a bottom title")
[Package Rcssplot version 1.0.0 Index]