How Can I Color Dendrogram Branches not according to their clusters
2 views (last 30 days)
Show older comments
I am using the Matlab dendrogram command:
Y = pdist(data,'cityblock'); Z = linkage(Y,'average'); [H, T] = dendrogram(Z);
I am familiar with the 'ColorThreshold' option but I want to color branches based on their original attributes and not based on their clustering. For instance if columns 1,5,8 in my original data matrix were all of type 'A' I want their branches to have the same color in the tree.
Is this possible?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!