%% Label Contour Plot Levels  

% Copyright 2015 The MathWorks, Inc.


%% 
% Create a contour plot and obtain the contour matrix, |C|, and the contour
% object, |h|. Then, label the contour plot.
[x,y,z] = peaks;
[C,h] = contour(x,y,z);   
clabel(C,h)    
