export_plot_svg | R Documentation |
This function exports a plot to a SVG file. The default plot dimension (width/height) follows the golden ratio, 1.618.
export_plot_svg(plot, file, width = 4.75, height = 2.94)
plot |
An object of the |
file |
Output file directory |
width |
Plot width in inches |
height |
Plot height in inches |
This function outputs an object of the ggplot
class to a SVG file.
Kevin Surya
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.