add colorbar to clustergram from within script

How do you add a colorbar to a clustergram plot from within a script?
I know you can click on a figure to do it, but i am making a clustergrams in bulk (hundreds).

回答 (1 件)

Ahmet Cecen
Ahmet Cecen 2015 年 4 月 23 日
編集済み: Ahmet Cecen 2015 年 4 月 23 日

0 投票

Nevermind colorbar doesn't work, check below for a work around that worked for me:
Also check:
fig=clustergram(A)
plot(fig)

カテゴリ

質問済み:

cmo
2015 年 4 月 23 日

編集済み:

2015 年 4 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by