Hi ! I've been using sympy for a while, mostly through Sage but sometimes also on its own. For a number of reasons, I have decided to use sympy with my students next fall, and i need to learn a few basic things, for which I normally rely on Sage.
Mostly, I mean plotting. All my plots are normally done with Sage, and matplotlib is another library which I have never used independently of Sage... I have looked at sympy's documentation but failed to find an A to Z guide to plotting (I guess it is assumed that the user knows matplotlib better than I do). Here are the things I have tried -- the first worked but is not ideal, the others failed. (1) The Sage cell at http://sagecell.sagemath.org/. I select python as a language, then enter from sympy import * x= Symbol("x") plot(x*x) and it works ! (2) Sympy live at http://live.sympy.org/. I have tried plot(x*x) and plot(x*x).show() (I had my hopes on the second one) but nothing pops up. That's disapppointing, as I wanted to advertise the sympy live functionality to my students. (3) On my local machine. I go "sage -ipython" which launches a copy of python with all the libraries that you could think of, certainly sympy and matplotlib. Again plot(x*x) and plot(x*x).show() fail to display anything. I'm guessing in this case it's a (simple?) matter of telling sympy to talk to matplotlib, and perhaps of telling matplotlib to start itself. I have no idea how to proceed though! Thank you for any help... Pierre PS I'm using Mac OSX. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/9edb3c5b-7747-44b5-923d-c59750baa84d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
