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!

 Respuesta aceptada

John D'Errico
John D'Errico el 29 de Oct. de 2022
Editada: John D'Errico el 29 de Oct. de 2022

1 voto

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 comentario

John Bleichert
John Bleichert el 29 de Oct. de 2022
I think it probably plotted a point, which is not very visible. Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 29 de Oct. de 2022

Comentada:

el 29 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by