how to change axis fort size

how can i change axis font size?
ex: to make it fit i wanna reduce fot size

Réponses (1)

Tommy
Tommy le 3 Mai 2020

0 votes

By setting the 'FontSize' property of your axes. For example, if the axes handle is contained in ax, you can use
ax.FontSize = newFontSize;
Other ways to make your labels easier to read include repositioning the ticks, only labeling some of your ticks, or rotating your labels.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by