How to change font size of clustergram ColumnLabels?
8 views (last 30 days)
Show older comments
I used clustergram to cluster and visualize a 50x120 matrix, and thus I have 120 columns. I rotated the column labels using
set(cgo,'ColumnLabels',factor_names, 'ColumnLabelsRotate', 90);
But the labels are still too crowded (Note that I am talking about the 120 column lables, not the xlabel). Is there a way to change the font size of the ColumnLabels? I tried to export the clustergram to figure, then play with the font of the figure. However, when I try to export or copy the figure, the font changed to the old font size.
So I am looking for a way to change the font size in the clustergram directly. Beside, I also want to visualize and play with the interactive features of the clustergram. Any suggestion is welcome, including hacking into the clustergram source code.
0 Comments
Answers (1)
mizuki
on 2 Oct 2016
There was a similar question. Please set the ShowHiddenHandles property as 'on' and change the FontSize property.
https://jp.mathworks.com/matlabcentral/answers/305274
0 Comments
See Also
Categories
Find more on Gamma Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!