www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/SetValuesToDrawContoursAtExample.m

    %% Specify Levels for Contour Lines
% Set the values at which |fcontour| draws contours by using the
% |'LevelList'| option. 

syms x y
f = sin(x) + cos(y);
fcontour(f,'LevelList',[-1 0 1])