%% 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([])

% Copyright 2012 The MathWorks, Inc.