%% Set z-Axis Limits
% Plot a surface and set the z-axis limits to range from -5 to 5.

[X,Y,Z] = peaks;
surf(X,Y,Z);
zlim([-5 5])

% Copyright 2015 The MathWorks, Inc.