www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyPlottingIntervalforImplicitSurfaceExample.m
%% Specify Plotting Interval % Plot the upper half of the hyperboloid $x^2 + y^2 - z^2 = 0$ by % specifying the plotting interval as [0 5] for _z_. For _x_ and _y_, use % the default interval |[-5 5]|. f = @(x,y,z) x.^2 + y.^2 - z.^2; interval = [-5 5 -5 5 0 5]; fimplicit3(f,interval)