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

    %% Plot 3-D Implicit Function
% Plot the hyperboloid  $x^2 + y^2 - z^2 = 0$ over the default interval of
% $[-5, 5]$ for  _x_, _y_, and _z_.

f = @(x,y,z) x.^2 + y.^2 - z.^2;
fimplicit3(f)