Companion

object Companion

Functions

Link copied to clipboard
fun saveToFile(figure: Figure, fileName: String, directory: Path = KSL.plotDir, extType: PlotIfc.ExtType = ExtType.PNG, defaultScale: Int = 2, defaultDPI: Int = 144): File

Saves the supplied plot to a file

Link copied to clipboard
fun showPlotInBrowser(figure: Figure, tmpFileName: String? = null, directory: Path = KSL.plotDir): File

Shows a lets-plot plot in a browser window

Link copied to clipboard
fun toHTML(figure: Figure): String