saveCanvas {aRtsy}R Documentation

Save a Canvas to an External Device

Description

This function is a wrapper around ggplot2::ggsave. It provides a suggested export with square dimensions for a canvas created using the aRtsy package.

Usage

saveCanvas(plot, filename, width = 7, height = 7, dpi = 300)

Arguments

plot

a ggplot2 object to be saved.

filename

the filename of the export.

width

the width of the artwork in cm.

height

the height of the artwork in cm.

dpi

the dpi (dots per inch) of the file.

Value

No return value, called for saving plots.

Author(s)

Koen Derks, koen-derks@hotmail.com


[Package aRtsy version 0.1.8 Index]