www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/PlotContoursOfExpressionExample.m
%% Plot Contours of Function % Plot the contours of $f(x,y) = \sin(x) + \cos(y)$ over the default % interval of $-5 < x < 5$ and $-5 < y < 5$. f = @(x,y) sin(x) + cos(y); fcontour(f)