Why does fimplicit3 provide an empty plot?

Hello! Can anyone tell me why the second plot in the image below is blank? Is it because the implied radius is 0?
The first ellispoid is visible, but the second is blank. I fiddled with the intervals, but X and Y always display as shown (-0.5 to 0.5?).
f = @(x,y,z) x.^2 + y.^2 + z.^2 - 5;
fimplicit3(f)
f = @(x,y,z) x.^2 + y.^2 + z.^2;
fimplicit3(f)
Thanks in advance for any suggestions!

 Accepted Answer

John D'Errico
John D'Errico on 29 Oct 2022
Edited: John D'Errico on 29 Oct 2022
The second equation does indeed have has an implied radius of ZERO. So the solution is a single point, where x=y=z=0. It is the equation of a sphere with a radius of zero. Perhaps fimplicit3 missed the subtlty of plotting a single point, or perhaps it did, and just made the point so small as to be invisible, since in reality, a single point is no more than that.

1 Comment

I think it probably plotted a point, which is not very visible. Thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Release

R2022b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!