Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Labelling dendrogram has issue

1 回表示 (過去 30 日間)
shawin
shawin 2017 年 3 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 ??

回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by