HeatMap

Class for drawing a heat map.

Members

Functions

colors
Color[] colors()
colors
This colors(Color[] newColors)

Set the colors to be used for this HeatMap as an array from coldest (smallest value) to warmest (largest value). newColors.length must be >= 2.

legendText
This legendText(string ignored)

Throws an exception. Heat maps aren't allowed to have legends.

nCols
uint nCols()
nRows
uint nRows()

Static functions

noCopy
HeatMap noCopy(double[][] mat)

Create a heat map w/o copying data.

opCall
HeatMap opCall(R data)

Create a heat map from a matrix represented as a range of ranges. The matrix must be rectangular. The elements of the ranges must be implicitly convertible to double.

Inherited Members

From Plot

hasLegend
bool hasLegend()

Returns true if this plot type supports legends, otherwise false.

toFigure
Figure toFigure()

Convenience method that instantiates a Figure object with this plot. Useful for creating single-plot figures w/o a lot of boilerplate.

toLabeledFigure
Figure toLabeledFigure()

Instantiates a Figure object with this plot and also places the default axes and tick labeling and title for the plot type, if any, on the Figure. If a plot type has no default labeling, simply forwards to toFigure().

leftMost
double leftMost()

The leftmost point on the plot.

rightMost
double rightMost()

The rightmost point on the plot.

topMost
double topMost()

The topmost point on the plot.

bottomMost
double bottomMost()

The bottommost point on the plot.

legendText
string legendText()
legendText
This legendText(string newText)

Meta