Package-level declarations

The ggsave() function is an easy way to export plot to a file in SVG, HTML or raster formats.



Link copied to clipboard
fun ggsave(plot: Figure, filename: String, scale: Number = 2, dpi: Number? = null, path: String? = null): String

Exports plot to a file. Supported formats: SVG, HTML, PNG, JPEG and TIFF. Note: in some configurations raster formats might not be supported.