Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Labelling dendrogram has issue
조회 수: 1 (최근 30일)
이전 댓글 표시
Iam trying to label a dendogram, but iam getting confused out put :
rng default; % For reproducibility
X1= [1 1.5 5 3 4 3];
X2=[ 1 1.5 5 4 4 3.5]
X=[X1;X2]
X=X';
Y = pdist(X)
squareform(Y)
tree = linkage(Y)
[H,T,outperm]=dendrogram(tree);
set(gca,'TickDir','out','TickLength',[.002 0],'XTickLabel',['a', 'b','c','d','e','f']);
any suggestion please ?
can we produce a plot for the HC as figure 1 ??
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161854/image.gif)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161855/image.jpeg)
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!