add_small_legend | R Documentation |
add_small_legend
is a function to adjust the size of a plot legend.
Used in scripts:
Robust function: TRUE
add_small_legend(gg_plot, point_size = 0.5, text_size = 3, space_legend = 0.1)
gg_plot |
plot of ggplot type |
point_size |
Size of legend pointers |
text_size |
Size of legend text |
space_legend |
Space between legends |
Plot with adjusted legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.