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

    %% Rotate z-Axis Tick Labels for Specific Axes
% Create a figure with two subplots and return the axes objects as |ax1|
% and |ax2|. Rotate the _z_-axis tick labels for the lower subplot by
% specifying |ax2| as the first input argument to |ztickangle|.

ax1 = subplot(2,1,1);
stem3(2*rand(5))

ax2 = subplot(2,1,2);
stem3(2*rand(5))
ztickangle(ax2,-45)