%% Label z-Axis and Return Object Handle
% Label the z-axis and return the text object used as the label.

surf(peaks)
t = zlabel('Population Change');

%
% Set the color of the label to red. Use dot notation to set properties.

t.Color = 'red';

% Copyright 2015 The MathWorks, Inc.