enlarge the fonts of all elements in the app designer project

4 次查看(过去 30 天)
hi..it is possible to enlarge the fonts of all the elements without doing it individually?
  1 个评论
Luca Re
Luca Re 2023-6-14
i follow this link:
Change font size of every components in uifigure(app designer) by following the uifigures's size - MATLAB Answers - MATLAB Central (mathworks.com)
i try to apply it in my code, but i receive error

请先登录,再进行评论。

回答(1 个)

Lohit
Lohit 2023-6-13
If this is a plot with texts at specific positions, then you can use a similar line of code after your 'plot' command:
text(x_label_2,y_label_2,num2str('Label 2'),'FontSize',22);
The first 2 indices are the position coordinates of the point at which you want to display 'Label 2', 3rd index is the text you wish to see and then the font size can be altered further down the line.

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by