フィルターのクリア

Change text height in NNtool

2 ビュー (過去 30 日間)
Tran Hoa
Tran Hoa 2020 年 4 月 23 日
コメント済み: Tran Hoa 2020 年 4 月 23 日
Dear member
I am using NNtool in Matlab. When I printed the figure as attached file, the text height (validation, training..etc) is default of 12. I try to use this code to change the text height:
set(findall(gcf,'-property','FontSize'),'FontSize',20). However, it does not work for this cas.
How to change the text height by using code instead of making manually in UI.
Thank you so much !

採用された回答

Mehmed Saad
Mehmed Saad 2020 年 4 月 23 日
I have this figure
Now i want to change the title fontsize of all the subplots
a=findall(gcf,'-property','FontSize','type','axes');
set([a.Title],'FontSize',15)
  5 件のコメント
Mehmed Saad
Mehmed Saad 2020 年 4 月 23 日
Plot regression before that
nntraintool('plot','plotregression')
Now execute the command
a=findall(gcf,'-property','FontSize','type','axes');
set([a.Title],'FontSize',15)
Tran Hoa
Tran Hoa 2020 年 4 月 23 日
It works well now
Thank you so much !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiotech and Pharmaceutical についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by