save_plot: Save plot expression into laster/vector files

View source: R/graphics.R

save_plotR Documentation

Save plot expression into laster/vector files

Description

Save plot into a figure file with given extension

Usage

save_plot(plotexpr, filename, width = 4, height = 3, ppi = 300, ...)

Arguments

plotexpr

plot function or plot expression, which is evaluated "lazily".

filename

File name. file extension determines the file format.

width

width of figure in inch.

height

height of figure in inch.

ppi

pixel per inchi; used only for raster format.

...

arguments for par, e.g., cex or mex.


hmito/hmRLib documentation built on Sept. 8, 2024, 4:49 p.m.