HierarchicalClustering`
HierarchicalClustering`

LeafLabels

LeafLabels

is an option for DendrogramPlot that specifies labels for the dendrogram leaves.

Details and Options

  • To use LeafLabels, you first need to load the Hierarchical Clustering Package using Needs["HierarchicalClustering`"].
  • For an input list, possible settings for LeafLabels are None, Automatic, a list of labels equal in length to the number of leaves, or a pure function.
  • For an input cluster c, possible settings for LeafLabels are None or a pure function.
  • With the setting LeafLabels->Automatic, the leaves are labeled according to the data element position.
  • With the setting LeafLabels->f, where f is a pure function, the leaf corresponding to the data element e is labeled with f[e].
  • For a truncated dendrogram, a boxed number is substituted for the label indicating the size of the truncated cluster.

Examples

Basic Examples  (1)

Dendrogram labeling leaves with the associated data elements:

Wolfram Research (2007), LeafLabels, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

Text

Wolfram Research (2007), LeafLabels, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

CMS

Wolfram Language. 2007. "LeafLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

APA

Wolfram Language. (2007). LeafLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html

BibTeX

@misc{reference.wolfram_2024_leaflabels, author="Wolfram Research", title="{LeafLabels}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_leaflabels, organization={Wolfram Research}, title={LeafLabels}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}, note=[Accessed: 22-November-2024 ]}