%% Label Contour Plot Levels
% 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)

% Copyright 2015 The MathWorks, Inc.