How do I change the font size of the axes in a stacked plot?
14 次查看(过去 30 天)
显示 更早的评论
Is there some equivalent to set(gca, 'FontSize',xy)?
0 个评论
回答(1 个)
Adam Danz
2020-9-23
编辑:Adam Danz
2020-9-28
Use the stackedplot handle.
h = stackedplot(T);
h.FontSize = 12;
% or
set(h, 'FontSize', 12)
If you don't have access to the stackedplot object and you have a really good reason why it's impossible to add the handle output to the stackedplot function, you can get the handle using,
h = findobj(gcf,'type','stackedplot');
Example
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!