ggsave600dpi | R Documentation |
Extract a legend https://stackoverflow.com/questions/43366616/ggplot2-legend-only-in-a-plot Alternate unused approach From https://github.com/tidyverse/ggplot2/wiki/Share-a-legend-between-two-ggplot2-graphs
ggsave600dpi(
filename,
gg,
width,
height,
units = "in",
size = 12,
lineheight = 0.13,
caption_fraction = 10/12,
path = NA,
second_path = NA,
...
)
filename |
Output file |
gg |
A ggplot |
width |
Output height as per ggsave |
height |
Output height as per ggsave |
units |
Output measurement unit as per ggsave |
size |
New text size |
caption_fraction |
Ratio of caption to the rest of text |
path |
for output, defaults to NA for legacy reasons |
second_path |
for output, typically to save to sharepoint |
Does not return, outptus to file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.