To insert XMinorTick marks I am using the following command:
set(gca, 'XMinorTick', 'on');
However, this creates tick marks along both the bottom and top of the axes. I would like the tick marks to appear only along the bottom of the axes.
axiscontrollabel;markMATLABshowtick
set(gca, 'XMinorTick', 'on');
Best Answer