www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/LabelContourPlotwithVerticalTextandSymbolsExample.m

    %% Label Contour Plot with Vertical Text  

% Copyright 2015 The MathWorks, Inc.


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