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

    %% Specify Plotting Interval
% Specify the plotting interval by specifying the second argument to |fimplicit3|.
% Plot the upper half of the hyperboloid $x^{\strut 2} + y^2 - z^2 =0$ by specifying the interval
% $0 < z < 5$. For $x$ and $y$, use the default interval $[-5, 5]$.

syms x y z
f = x^2 + y^2 - z^2;
interval = [-5 5 -5 5 0 5];
fimplicit3(f, interval)