www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyNonuniformZAxisTickValuesExample.m
%% Specify Nonuniform z-Axis Tick Values % Display tick marks along the _z_-axis at nonuniform values between -10 % and 10. MATLAB(R) labels the tick marks with the numeric values. [x,y,z] = peaks; surf(peaks) zticks([-10 -2.5 0 2.5 10])