Package-level declarations

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

Examples

Functions

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.