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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

DAJ
am 24 Mär. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by