Customizing the axis on a plot - Mainly the tick marks
3 views (last 30 days)
Walter Roberson on 11 Aug 2022
ax = gca;
xlim(ax, [0 600])
ax.XMinorTick = 'on';
ax.YMinorTick = 'on';
The length of the major ticks can be controlled with the TickLength property.
Note: there is no control over the interval between minor ticks.