saveToFile

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