add colorbar to clustergram from within script

4 views (last 30 days)
cmo
cmo on 23 Apr 2015
Edited: Ahmet Cecen on 23 Apr 2015
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).

Answers (1)

Ahmet Cecen
Ahmet Cecen on 23 Apr 2015
Edited: Ahmet Cecen on 23 Apr 2015
Nevermind colorbar doesn't work, check below for a work around that worked for me:
Also check:
fig=clustergram(A)
plot(fig)

Community Treasure Hunt

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

Start Hunting!