www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/RemoveYAxisTickMarksExample.m
%% Remove y-Axis Tick Marks % Remove the tick marks along the _y_-axis by specifying the tick values as % an empty array. x = linspace(0,10); y = sin(x); plot(x,y) yticks([])