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


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.
See Also
Tech Notes
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_2025_leaflabels, author="Wolfram Research", title="{LeafLabels}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}", note=[Accessed: 07-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_leaflabels, organization={Wolfram Research}, title={LeafLabels}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}, note=[Accessed: 07-August-2025]}