%% 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)

% Copyright 2012 The MathWorks, Inc.