save_plots: Save plots to PNG + SVG files

View source: R/utils.R

save_plotsR Documentation

Save plots to PNG + SVG files

Description

Save plots to PNG + SVG files

Usage

save_plots(dir, basename, plot, width = 6, height = 5, units = "in", dpi = 300)

Arguments

dir

directory to save the plots to

basename

the base name for the plot files

plot

the plot to save

width

plot width

height

plot height

units

the units in which width & height are measured

dpi

plot resolution (dots per inch)


hsci-r/gghsci documentation built on Nov. 14, 2023, 2:21 p.m.