www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/RemoveZAxisTickMarksExample.m

    %% Remove z-Axis Tick Marks
% Remove the tick marks along the _z_-axis by specifying the tick values as
% an empty array. Removing the tick marks also removes any grid lines in
% the _z_ direction.

[x,y,z] = peaks;
mesh(x,y,z)
zticks([])