MATLAB remove ticks on one axis while keeping labels MATLAB remove ticks on one axis while keeping labels Ask Question 8 I want to make a MATLAB plot that has tick labels but no tick marks on the x axis, but does have tick marks on the y axis. How can I do this? I can't use set (gca,'XTick', []) because this would remove the tick labels. I also can't use set (gca,'TickLength', [0 0])