【发布时间】:2013-01-30 00:29:45
【问题描述】:
我一直试图在 Matlab 中手动或通过编写命令来更改 clustergram 的字体大小。然而,他们都没有工作。我不知道我哪里做错了。我也在网上搜索过,但只能找到没有答案的类似问题。这是我尝试过的。
clusterobj = clustergram(data,'Rowlabel',c) % c is a cell array of strings for rowlabel
h = addYLabel(clusterobj);
set(h,'FontSize',2);
或类似的东西
addYLabel(clusterobj, c, 'FontSize', 2);
或
set(gca,'FontSize',2);
他们都没有工作。我只是希望将 c 数组中字符串的字体大小更改为更小的大小。有人知道吗?非常感谢,
【问题讨论】:
-
对this similar question的答案有帮助吗?
标签: matlab plot font-size heatmap axis-labels