ggsave_golden
is a wrapper for ggsave
that saves a
ggplot to a file with proportions equal to the golden ratio (wide).
1 | ggsave_golden(filename, plot = last_plot(), ...)
|
filename |
The name of the file to be written to |
plot |
The plot object to save. Defaults to last plot displayed. |
... |
Additional parameters to be passed to |
width |
The width of the resulting image (default: 8) |
height |
The height of the resulting image (default: 4.94) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.