Function for saving a plot in pdf and png format at once.
1 2 | save_plot2(plot_name, file_name = "plot", width = 13, height = 8,
dpi = 150)
|
plot_name |
Name of plot we want to export. |
file_name |
Name of file we want to see in directory. Default filename: "plot" |
width |
Width of exported plot. Default value: 13 inches |
height |
Height of exported plot. Default value: 8 inches |
dpi |
Default value: dpi = 150 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.