Ask Your Question

Plotting an algebraic curve

asked 2016-03-23 05:43:41 -0500

wrogn gravatar image

I'm looking for the right function that lets me 2D-plot an algebraic curve like $x^2+y^2=1$. I know this example will get me a circle, but I want to use this to get an idea about how the curve looks like, so using a special function like doesn't help me.

I would be happy if anyone could point me to the right function. Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-23 06:23:51 -0500

B r u n o gravatar image

The function you are probably looking for is implicit_plot:

sage: f(x,y) = x^2 + y^2 -1
sage: implicit_plot(f, (-2, 2), (-2, 2))

Note that there also exists implicit_plot3d for functions in 3 variables.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-03-23 05:43:41 -0500

Seen: 219 times

Last updated: Mar 23 '16