I have been trying to change the font size of clustergram in Matlab manually or by writing commands. However, none of them worked. I don't know where I did wrong. I also googled online but can only find similar questions without answers. Here are what I have tried.
clusterobj = clustergram(data,'Rowlabel',c) % c is a cell array of strings for rowlabel
h = addYLabel(clusterobj);
set(h,'FontSize',2);
or something like
addYLabel(clusterobj, c, 'FontSize', 2);
or
set(gca,'FontSize',2);
None of them worked. I just hope to change the font size of strings in c array to much smaller size. Anyone has any idea ? Thank you very much,