필터 지우기
필터 지우기

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 CenterFile Exchange에서 Biotech and Pharmaceutical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by