Save current base plot as pdf/png
save_plot.Rd
See ggplot2::ggsave()
for saving grid plots.
Examples
plot(1:10)
if (FALSE) { # \dontrun{
# Typical journal options:
save_plot('test.png', width = 3.5, height = 3.5, units = 'in', res = 600)
} # }
save_plot.Rd
See ggplot2::ggsave()
for saving grid plots.
plot(1:10)
if (FALSE) { # \dontrun{
# Typical journal options:
save_plot('test.png', width = 3.5, height = 3.5, units = 'in', res = 600)
} # }