How can I extract a colormap from a dendrogram?
이전 댓글 표시
Hi, I have created a dendrogram and am happy with the colors it has selected by default. I want to create other plots using the same colormap to facilitate comparison. How do I extract the colormap from the dendrogram I have created?
채택된 답변
추가 답변 (1개)
Rishik Ramena
2020년 10월 7일
편집: Rishik Ramena
2020년 10월 7일
0 개 추천
You could use the ColorThreshold argument to specify the number of colors to be used in the dendrogram. This would then limit the use of newer colors in the different plots you seek to compare. You can also set the colors of the lines individually using the handles returned by the dendrogram function. Check here for examples and implementation.
카테고리
도움말 센터 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!