dendrogram
Dendrogram plot for a hierarchical cluster tree.
📝Syntax
dendrogram(Z)
dendrogram(Z, P)
dendrogram(ax, ...)
H = dendrogram(...)
[H, T, outperm] = dendrogram(...)
📄Description

dendrogram plots a hierarchical binary cluster tree returned by linkage.

The function supports Reorder, CheckCrossing, ClusterIndices, ColorThreshold, ShowCut, ShowMarkers, Orientation, Labels, and Parent name-value options.

💡Examples
X = [0 0; 1 0; 0 2; 4 4];
Z = linkage(X);
dendrogram(Z, 0)
🔗See Also
linkageclusterpdist
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub