Function to save and display plots
1 2 3 4 5 6 7 8 9 10 |
visPlot |
logical to display plot |
makeObject |
logical to save plots in environment |
savePlots |
logical to save plots as image |
filename |
filename to pass to ggsave_f |
path |
path where plots should be saved to pass to ggsave_f |
plt |
plot to be printed to pass to ggsave_f |
device |
list of formats to be saved to pass to ggsave_f |
dpi |
image resolution to pass to ggsave_f |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.