%% Specify z-Axis Tick Values for Specific Axes
% Create a figure with two subplots and return the axes objects as ax1 and ax2. Set the z-axis tick values for the left subplot by passing ax1 as the first input argument to the zticks function.

ax1 = subplot(1,2,1);
stem3(4*rand(5))
zticks(ax1,[0 1.5 3.25])

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

% Copyright 2012 The MathWorks, Inc.