retaining minor grid lines when fontsize is increased

In a 2-D plot, when I use FontSize of 18 rather than 12, my minor grid lines no longer show. Is there a way to retain them? i.e. with this sequence of commands, they are there: grid('on') set(gca,'XMinorGrid','on') set(gca,'YMinorGrid','on') set(gca,'FontSize',12)
with this sequence, they are not: grid('on') set(gca,'XMinorGrid','on') set(gca,'YMinorGrid','on') set(gca,'FontSize',18)

1 commentaire

Do you want to change the plot size? I mean the curve you're plotting or you really want to change the setting of the axis that's why you're using gca

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by