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

    %% Query Current Angle for z-Axis Tick Labels
% Create a surface chart. Then, query the rotation angle for the _z_-axis
% tick labels. By default, the labels are not rotated.

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

%%
ang = ztickangle