[Matplotlib-users] New matplotlib book: Mastering matplotlib

2015-07-10 Thread Duncan McGreggor
Hey all, I wanted to let folks know that there is a new matplotlib book available, having just been published: * https://www.packtpub.com/big-data-and-business-intelligence/mastering-matplotlib The IPython notebooks are listed here (with links to NBViewer as well as the individual chapter repos)

Re: [Matplotlib-users] How to visualize a, b results of x, y variables

2015-07-10 Thread Jonno
Thanks for all the ideas. On Thu, Jul 9, 2015 at 8:09 PM, Joy merwin monteiro wrote: > Maybe you could plot the ratio? That should give you rainfall per degree > Celsius. > On 9 Jul 2015 20:11, "Jonno" wrote: > >> I was thinking of doing that or having 2 surface plots but I think it >> would be

Re: [Matplotlib-users] question on spherical coordinate plots

2015-07-10 Thread Benjamin Root
Your theta and phi were essentially 1D rather than 2D, so it didn't allow for 2 degrees of freedom. And you don't need np.outer() for this: theta = np.linspace(0, np.pi, 500)[:, None] phi = np.linspace(0, 2*np.pi, 500)[None, :] r = f(theta, phi) x = r**2 * np.cos(phi) * np.sin(theta) y = r**2

Re: [Matplotlib-users] Efficient matplotlib use on iOS and Android apps

2015-07-10 Thread Benjamin Root
The way matplotlib does its MathText rendering is 1) incomplete (we don't support all of MathTex), and 2) has *massive* overhead (relatively speaking). Matplotlib is intended for producing figures with many disparate components. The amount of code it takes to just generate a simple plot is fairly s

Re: [Matplotlib-users] how to install freetype & png for matplotlib

2015-07-10 Thread Thomas Caswell
See http://matplotlib.org/1.4.3/faq/installing_faq.html?highlight=install#linux-notes On Fri, Jul 10, 2015, 9:10 AM Varada Anirudhan wrote: > Hello there > > When I was trying to install matplotlib, the output said that I needed to > install freetype and png first > > How do I install freetype a

[Matplotlib-users] how to install freetype & png for matplotlib

2015-07-10 Thread Varada Anirudhan
Hello there When I was trying to install matplotlib, the output said that I needed to install freetype and png first How do I install freetype and png on my Ubuntu 14.04 powered-Linux system? Please help me with the lines of code for this installation Thanks in advance -- View this message i

[Matplotlib-users] question on spherical coordinate plots

2015-07-10 Thread Romain Madar
Dear experts, I am trying to plot spherical harmonics with matplotlib and I have some troubles. I am starting from the example http://matplotlib.org/examples/mplot3d/surface3d_demo2.html where I change the factor 10 in a function of r=f(theta,phi) (or r=f(u,v) as they are named in the example

Re: [Matplotlib-users] Efficient matplotlib use on iOS and Android apps

2015-07-10 Thread asiga
Why do you suggest MathJax? I assume Javascript will be less efficient than Python. Moreover, I'm not sure I can get the MathJax output as polygonal primitives that I can send to OpenGL. And, to complicate things, you cannot use JIT Javascript engines on iOS such as V8, due to sandboxing. In fact,