A wrapper around the Cairo::Cairo() function, specifically configured for PNG output.
Usage
png2(filename, width = 10, height = 7.08, units = "in", dpi = 380, ...)
Arguments
- filename
output file name
- width
width of the output image in inch
- height
height of the output image in inch
- units
units for width and height (default: "in")
- dpi
resolution of the output image (default: 380)
- ...
additional arguments passed to Cairo::Cairo()
Value
a Cairo device for plotting