Wrapper for ggsave that also crops and converts to eps if necessary
1 2 |
plot_object |
The ggplot object. No default. |
file_name |
The plot file name. No default. |
width |
The width of the plot in cm. Defaults to 13.2. |
height |
The height of the plot in cm. Default to 9. |
device |
Character vector with the name of the image device to use. Defaults to "eps". |
convert_pdf_to_eps |
Logical. If TRUE and device = "pdf" then an attempt to convert that pdf using pdftops to eps is made. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.