MATLAB: How to remove ticks from the x-axis

one axisremovingticks

Hi everybody,
I am wondering if there is any way to remove the ticks from only one axis, let say x-axis, when you plot a graph. (TickLength applies the changes to both x- and y-axis which is not what I'd like)
Thank you very much in advance, Vahid

Best Answer

set(gca,'XTick',[])