Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
1

Plotting an algebraic curve

asked 9 years ago

wrogn gravatar image

I'm looking for the right function that lets me 2D-plot an algebraic curve like x2+y2=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!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 9 years ago

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.

Preview: (hide)
link

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: 9 years ago

Seen: 1,417 times

Last updated: Mar 23 '16