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

    %% Modify Implicit Surface After Creation
% Plot the implicit surface $1/x^2 - 1/y^2 + 1/z^2 = 0$. Specify an output to
% make |fimplicit3| return the plot object.
syms x y z
f = 1/x^2 - 1/y^2 + 1/z^2;
fi = fimplicit3(f)
%%
% Show only the positive x-axis by setting the |XRange| property of |fi| to
% |[0 5]|. Remove the lines by setting 
% the |EdgeColor| property to |'none'|. Visualize the hidden surfaces by
% making the plot transparent by setting the |FaceAlpha| property to |0.8|.
fi.XRange = [0 5];
fi.EdgeColor = 'none';
fi.FaceAlpha = 0.8;