MATLAB: Turn off the dispaly of the values on Yaxis

displayyaxisytick

Hello,
I was wondering if it is possible to just turn off the values from 0 to 160 on Yaxis, but remaining the grid and Ticks?
I tried:
set(gca,'XTick',[], 'YTick', [])
but it removes the grid.
fig1.JPG
Thanks for your time,
Tiago

Best Answer

set(gca,'yticklabel',[])