how to change axis fort size

1 visualizzazione (ultimi 30 giorni)
Ibrahim AlZoubi
Ibrahim AlZoubi il 3 Mag 2020
Risposto: Tommy il 3 Mag 2020
how can i change axis font size?
ex: to make it fit i wanna reduce fot size

Risposte (1)

Tommy
Tommy il 3 Mag 2020
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.

Categorie

Scopri di più su Graphics 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