%% Label Specific Contour Levels
% Label only the contours with contour levels 2 or 6.

[x,y,z] = peaks;
[C,h] = contour(x,y,z);
v = [2,6];
clabel(C,h,v)

% Copyright 2015 The MathWorks, Inc.