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

    %% Rotate z-Axis Tick Labels
% Create a surface chart and rotate the _z_-axis tick labels 45 degrees
% clockwise. 

[x,y,z] = peaks;
surf(x,y,z)
ztickangle(-45)