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 Comment

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

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Tags

Asked:

DAJ
on 24 Mar 2014

Community Treasure Hunt

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

Start Hunting!