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? = null, dpi: Number? = null, path: String? = null, w: Number? = null, h: Number? = null, unit: 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.