Dendrogram

A dendrogram is a tree of hierarchically clustered data such that the height of each split is proportional to the distance between clusters.

Members

Functions

leafNames
const(string)[] leafNames()

The names of the leaf nodes, in order from left to right on the plot.

toLabeledFigure
Figure toLabeledFigure()

Create a Dendrogram figure with rotated text leaf labels on the X-axis tick labels and "Distance" as the Y-axis label.

Static functions

opCall
Dendrogram opCall(Cluster* clusters)

Create a Dendrogram from hierarchically clustered data.

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