| mtext | R Documentation | 
This is a wrapper for R's mtext function. See R's documentation for graphics::mtext for further details.
mtext(text, Rcss = "default", Rcssclass = NULL, ...)
| text | characters to print on the plot | 
| Rcss | style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() | 
| Rcssclass | character, style class | 
| ... | Further parameters, see documentation of graphics::mtext | 
# draw text into a margin
plot(c(0, 1), c(0, 1), type="n", xlab="", ylab="")
mtext(side=1, "bottom x-axis label", line=2.5)
mtext(side=2, "left y-axis label", line=2.5)
mtext(side=3, "top x-axis label")
mtext(side=4, "right y-axis label")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.