From: Jeff Westmoreland on
I am trying to plot a 3d cone (upside down) using the implicit equatin x^2+y^2=z^2, but having trouble finding out how to plot implicit functions with matlab, any suggestions would be appreciated.

thanks, Jeff
From: us on
"Jeff Westmoreland" <jeffswestmoreland(a)gmail.com> wrote in message <hsnnet$9s4$1(a)fred.mathworks.com>...
> I am trying to plot a 3d cone (upside down) using the implicit equatin x^2+y^2=z^2, but having trouble finding out how to plot implicit functions with matlab, any suggestions would be appreciated.
>
> thanks, Jeff

one of the many solutions

[x,y]=meshgrid(-10:.5:10);
z=sqrt(x.^2+y.^2);
surfl(x,y,z);
% also, look at EZSURF

us