How do I change the font size of the axes in a stacked plot?
16 ビュー (過去 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!