enlarge the fonts of all elements in the app designer project

4 Ansichten (letzte 30 Tage)
Luca Re
Luca Re am 13 Jun. 2023
Kommentiert: Luca Re am 14 Jun. 2023
hi..it is possible to enlarge the fonts of all the elements without doing it individually?
  1 Kommentar
Luca Re
Luca Re am 14 Jun. 2023
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Lohit
Lohit am 13 Jun. 2023
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.

Community Treasure Hunt

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

Start Hunting!

Translated by