This function can be used to add labels to a plot. Its main difference to title
is that it allows to specify a different drawing position for each annotation. The defaults are the same
as for title
, but can be changed by a call to options
.
1 2 3 |
main |
Main plot title. |
sub |
Plot subtitle. |
xlab |
X axis label. |
ylab |
Y axis label. |
main.line |
The margin line for the main title. Defaults to |
sub.line |
The margin line for the sub-title. Defaults to |
xlab.line |
The margin line for the X axis label. Defaults to |
ylab.line |
The margin line for the Y axis label. Defaults to |
use.default.line |
Use |
... |
Additional parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.