-1
$\begingroup$

Given a cone with equation

z^2 = x^2 + y^2,

how would I draw it in Sage?

I tried turning it into a function and passing arguments but it didn't work out for me.

  • 0
    Th$a$nks, I got this with implicit_plot :). If you w$a$n't, $a$nswer it so I can accept it.2012-05-21

1 Answers 1

1

I have drawn the cone with the following code:

var('x,y,z') implicit_plot3d(x^2+y^2-z^2==0, (x, -3, 3), (y, -3,3), (z, -3,3)) 
  • 0
    Yeah, found it just a second ago. Thanks alot.2012-05-21