how to change axis fort size

1 vue (au cours des 30 derniers jours)
Ibrahim AlZoubi
Ibrahim AlZoubi le 3 Mai 2020
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
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

En savoir plus sur Graphics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by