enlarge the fonts of all elements in the app designer project

4 visualizaciones (últimos 30 días)
Luca Re
Luca Re el 13 de Jun. de 2023
Comentada: Luca Re el 14 de Jun. de 2023
hi..it is possible to enlarge the fonts of all the elements without doing it individually?
  1 comentario
Luca Re
Luca Re el 14 de Jun. de 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

Iniciar sesión para comentar.

Respuestas (1)

Lohit
Lohit el 13 de Jun. de 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