www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/SpecifyRangeForContourPlotExample.m
%% Specify Plotting Interval % Plot $\sin(x) + \cos(y)$ over $-\pi/2 < x< \pi/2$ and $0 < y < 5$ by specifying % the plotting interval as the second argument of |fcontour|. syms x y f = sin(x) + cos(y); fcontour(f,[-pi/2 pi/2 0 5])