panel_letter | R Documentation |
This is a wrapper around graphics::mtext()
with useful default values for this setting.
See that function for more details.
Panel letters are placed as if they were titles (preserves side = 3
hardcoded default).
panel_letter(letter, cex = 1.5, line = 0.5, adj = -0.1)
letter |
The letter to display. Mandatory, will stop if missing. |
cex |
The character expansion factor (default 1.5 makes it larger than the ordinary title, to distinguish them clearly if also present). |
line |
The margin line where the text is placed (default 0.5 matches the title line default in |
adj |
The text adjustment in the reading direction (default -0.1 is slightly to the left of the plotting area, over the left margin). Might need to be adjusted depending on margins. It is a copy of an internal function in |
# create a plot area
plot(1:10)
# run this after the plot area has been created...
panel_letter('A')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.