PlotIfc

interface PlotIfc

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
abstract var defaultDPI: Int

the dots per inch for the plot

Link copied to clipboard
abstract var defaultPlotDir: Path
Link copied to clipboard
abstract var defaultScale: Int

the scale associated with the plot

Link copied to clipboard
abstract var height: Int

The height of the container holding the plot

Link copied to clipboard
abstract var title: String

The title of the plot

Link copied to clipboard
abstract var width: Int

The width of the container holding the plot

Link copied to clipboard
abstract var xLabel: String

the label for the x-axis

Link copied to clipboard
abstract var yLabel: String

the label for the y-axis

Functions

Link copied to clipboard
abstract fun buildPlot(): Plot

Builds a new instance of a Lets-Plot representation of the plot

Link copied to clipboard
abstract fun saveToFile(fileName: String, directory: Path = defaultPlotDir, plotTitle: String = title, extType: PlotIfc.ExtType = ExtType.PNG): File
Link copied to clipboard
abstract fun showInBrowser(plotTitle: String = title): File

Opens up a browser window and shows the contents of the plot within the browser. A temporary file is created to represent the plot for display within the browser.

Link copied to clipboard
abstract fun toHTML(): String

An HTML representation of the plot for rendering