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!

 採用された回答

John D'Errico
John D'Errico 2022 年 10 月 29 日
編集済み: John D'Errico 2022 年 10 月 29 日

1 投票

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 件のコメント

John Bleichert
John Bleichert 2022 年 10 月 29 日
I think it probably plotted a point, which is not very visible. Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Performance についてさらに検索

製品

リリース

R2022b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by