This function adds a series of strings as separate lines in the footer of a ggplot figure.
A ggplot figure
A series of strings to appear as separate lines in the footer of the figure
Logical; should the footnote be set in a smaller font size than the rest of the plot?
This function does not work with the '+' notation used in ggplot. It should be called after the figure is otherwise complete, as the object returned is no longer a ggplot object and is not directly editable. Nonetheless, it works with
ggsave as any ggplot figure.
A figure with footnotes
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.