Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|cite|improve this question
Try to give a look to the Sage's Reference Manual precisely… – Giuseppe May 21 '12 at 16:54
Thanks, I got this with implicit_plot :). If you wan't, answer it so I can accept it. – Tool May 21 '12 at 17:03
up vote 1 down vote accepted

I have drawn the cone with the following code:

implicit_plot3d(x^2+y^2-z^2==0, (x, -3, 3), (y, -3,3), (z, -3,3))
share|cite|improve this answer
Yeah, found it just a second ago. Thanks alot. – Tool May 21 '12 at 17:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.