MATLAB: How to have labeled and unlabeled ticks on the x axis

label xticksMATLABunlabeled xticksxticks

How can one have an x-axis that has labeled ticks at 0, 500, 1000, …, 2500, and also has unlabeled ticks at 100, 200, 300, …, 2400?

Best Answer

ax=gca;
axis([0 2500 0 7000]);
ax.XMinorTick='on';
This is what Matlab suport told me, and it works.