Hi. This looks great. For others, to run the examples, download the examples script and put in the sympy directory. Then, checkout Krastanov's branch (from the pull request). Then, run IPython, and type %run examples.py. And then type p0.show(), p1.show(), etc. (up to p4).
And if you just want to test the plotting of your own functions in isympy, you have to run "from sympy.plotting.newplot import *", or else it will use the old plotting. The syntax is In [8]: p = Plot(Heaviside(x)*(1 - x)*sin(y), (x, -1, 1), (y, -pi, pi), '3d') In [9]: p.show() (if you don't add '3d' in this case, it will default to a contour plot, which btw is maybe not the best default) Aaron Meurer On Fri, Nov 11, 2011 at 7:46 AM, [email protected] <[email protected]> wrote: > The proposal that I made in https://github.com/sympy/sympy/pull/673 may or > may not became part of sympy but I like it and it's already quite useful for > me. > > Here are some examples. I would like to know what do you think. The 3d stuff > runs only on the latest version of matplotlib _after_ fixing a bug > (mentioned in the commit history, but those will be squashed soon). I didn't have any problems with it, though you do seem to have found a bug in matplotlib. I would submit a pull request to them fixing it. Aaron Meurer > > The script to produce them is also attached (as the api is probably more > important than the visuals (the _series[index] stuff is just a workaround > until getters are written)). > > Regards > Stefan > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
