dendrogram関数を用いて系統樹を表示する際に、各データ点のラベルに’_’を含む名称を付ける方法
14 views (last 30 days)
Show older comments
dendrogram関数を用いて系統樹を表示する際に、各データ点のラベルに’_’を含む名称を付けたいです。
そのまま'_'を付けると、'_'は表示されずに'_'の次の文字が下付き文字に変換されてしまいます。
ラベルは自動生成されるようにしてるので、バックスラッシュを'_'の手前につける方法以外でお願いします。
コード例
data = [1 2 3 4 5; 6 7 8 9 10; 1 3 4 5 7]; %入力データ
%各データ点のラベル
Label{1,1} ='aaa_1';
Label{2,1} ='aaa_2';
Label{3,1} ='aaa_3';
tree = linkage(data);
figure();
dendrogram(tree,'Labels', Label);
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Phylogenetic Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!