www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LabelContourPlotwithRotatedTextInsertedinContourLinesExample.m
%% 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)