Ask Your Question
1

Plotting an algebraic curve

asked 2016-03-23 11:43:41 +0200

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 sage.plot.circle.Circle 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
2

answered 2016-03-23 12:23:51 +0200

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

Stats

Asked: 2016-03-23 11:43:41 +0200

Seen: 985 times

Last updated: Mar 23 '16