Description Usage Arguments Examples
This function returns a ggplot2 annotation grob for addition to an existing ggplot object. The annotation should have coordinates and text justification appropriate for placing it in the least crowded corner of the existing plot, based on x and y lists provided.
1 | mfs_annotate_empty(s, xs, ys, opp = FALSE, text_color = "black")
|
s |
A text string for use as an annotation |
xs |
The list of x values used in the plot |
ys |
The list of y values used in the plot |
opp |
If True, indicates to put the annotation in the opposite corner of the least crowded |
text_color |
The color of the text |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.