Function for saving a plot in pdf and png format at once.
1 | save_plot2(name, file = "plot", width = 13, height = 8, dpi = 150)
|
name |
Plot name we want to export. |
file |
File name or path. 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.