Wednesday, June 13, 2007

SymPy Plot: First screenshots


>>> f1 = 0.1+x**2+y**2
>>> f2 = -0.1-x**2-y**2
>>> Plot( f1, f2, [x, -0.75, 0.75, 8], [y, -0.75, 0.75, 8] )




>>> Plot( x*y**3-y*x**3, [x, -1, 1, 20], [y, -1, 1, 20] )

4 comments:

mithro said...

That looks really cool! Your project looks to be going well.

Looking forward to the final result.

Can any of the stuff you work with actually solve the equations?

Brian Jorgensen said...

Thanks!

Yes, sympy has an equation solver in development. Since basic graphing functionality is ahead of schedule, I should have a lot of time to play with things like that.

Fredrik Johansson said...

Nice. It'd be even nicer if you could color by the surface normal instead of the height.

Brian Jorgensen said...

fredrik: You will be able to specify a color mapping as a function of x,y, and/or z. Thanks for the feedback.