I want to to add the Minor Ticks from the command line. Currently, I'm editing the Major Ticks as follows: set(gca) set(gca,'XTick',0:1:7) set(gca,'YTick',-1:0.5:1) but I did not find any documentation for the minor ticks. I hope to find someone familiar with this subject.
Prashant Kumar answered .
2025-11-20
Is this what you want?
set(gca,'XMinorTick','on')