Azzera filtri
Azzera filtri

enlarge the fonts of all elements in the app designer project

6 visualizzazioni (ultimi 30 giorni)
hi..it is possible to enlarge the fonts of all the elements without doing it individually?
  1 Commento
Luca Re
Luca Re il 14 Giu 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

Accedi per commentare.

Risposte (1)

Lohit
Lohit il 13 Giu 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by