www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LabelSpecificContourLevelsExample.m
%% Label Specific Contour Levels % Label only the contours with contour levels 2 or 6. % Copyright 2015 The MathWorks, Inc. %% [x,y,z] = peaks; [C,h] = contour(x,y,z); v = [2,6]; clabel(C,h,v)