%% Label Colorbar
% Add a text label along a colorbar.

surf(peaks)
c = colorbar;
c.Label.String = 'Elevation (ft in 1000s)';

% Copyright 2015 The MathWorks, Inc.