MATLAB: How to not display abscissa ticks using command while keeping the ticks of y-axis

abscissaaxisMATLABticks

How to not display abscissa ticks using Matlab command while keeping the ticks of y-axis? Thank you.

Best Answer

set(gca,'XTick',[]);