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

2015-07-09 Thread Benjamin Root
why not use MathJax? On Thu, Jul 9, 2015 at 8:03 AM, asiga asigan...@yahoo.com wrote: Hi, I need to render LaTeX math formulas on mobile apps (iOS/Android), with high quality, and as efficiently as possible. I'm considering matplotlib as the best candidate at the moment. Maybe it might

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

2015-07-09 Thread Jonno
I was thinking of doing that or having 2 surface plots but I think it would be visually quite confusing. I was trying to think of an example since I'm sure someone has come up with a nice way to display this kind of data. Imagine if the data was average temperature (a) and average rainfall (b) for

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

2015-07-09 Thread Jonno
It might just have to be 2 separate contour/surface plots side by side, perhaps with a linked cursor between them. The other thing I considered was combining the a,b data into a single value (combined % deviation from ideal?) but that reduces the data which I'd rather not do if possible. On Thu,

Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Benjamin Root
Which backend are you using? It works fine for me with a recent-ish master using Qt4Agg backend. Ben Root On Thu, Jul 9, 2015 at 6:52 AM, Mark Bakker mark...@gmail.com wrote: Hello list, I am trying to set the backgroundcolor of a textbox: from pylab import * plot([1, 2, 3]) text(1, 2,

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

2015-07-09 Thread Brendan Barnwell
On 2015-07-09 07:40, Jonno wrote: I was thinking of doing that or having 2 surface plots but I think it would be visually quite confusing. I was trying to think of an example since I'm sure someone has come up with a nice way to display this kind of data. Imagine if the data was average

[Matplotlib-users] plot isnt plotting anymore, error in code?

2015-07-09 Thread peter
hi, my code was working fine, but now i cant figure out what went wrong. any ideas? the code is supposed to plot a timeseries which it does and overlay it with another that is partially defined the input file is contructed like this: the first line is just for information purposes. after

Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Mark Bakker
Fails on MacOSX backend. Just tried it, and it works fine with the QT backend. So I guess a MacOSX bug... Thanks for your help, Mark On Thu, Jul 9, 2015 at 6:18 PM, Sterling Smith smit...@fusion.gat.com wrote: Works for me with TkAgg backend on 1.4.3. -Sterling On Jul 9, 2015, at

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

2015-07-09 Thread Joy merwin monteiro
Maybe you could plot the ratio? That should give you rainfall per degree Celsius. On 9 Jul 2015 20:11, Jonno jonnojohn...@gmail.com wrote: I was thinking of doing that or having 2 surface plots but I think it would be visually quite confusing. I was trying to think of an example since I'm sure

[Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Mark Bakker
Hello list, I am trying to set the backgroundcolor of a textbox: from pylab import * plot([1, 2, 3]) text(1, 2, 'Hello', backgroundcolor = 'red') This plots a nice red box but no text. It looks like the backgroundcolor is set as the foreground. Am I doing something wrong or is this a bug? mpl

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

2015-07-09 Thread asiga
Hi, I need to render LaTeX math formulas on mobile apps (iOS/Android), with high quality, and as efficiently as possible. I'm considering matplotlib as the best candidate at the moment. Maybe it might be a bit overkill because I don't need plotting, just math formulas rendering, but it has a

Re: [Matplotlib-users] TypeError: Dimensions of C (645, 536) are incompatible with X (538) and/or Y (646); see help(pcolormesh)

2015-07-09 Thread Ronquillo, Edgar Nahum
Yeah it makes sense. I still can't find the bug, which it most likely is. I will keep looking and see what i find. Thanks for the help -Original Message- From: Eric Firing [mailto:efir...@hawaii.edu] Sent: Tuesday, June 30, 2015 1:11 PM To: matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Sterling Smith
Works for me with TkAgg backend on 1.4.3. -Sterling On Jul 9, 2015, at 3:52AM, Mark Bakker mark...@gmail.com wrote: Hello list, I am trying to set the backgroundcolor of a textbox: from pylab import * plot([1, 2, 3]) text(1, 2, 'Hello', backgroundcolor = 'red') This plots a nice red

Re: [Matplotlib-users] plot isnt plotting anymore, error in code?

2015-07-09 Thread peter
On 07/09/2015 06:40 PM, peter wrote: hi, my code was working fine, but now i cant figure out what went wrong. any ideas? the code is supposed to plot a timeseries which it does and overlay it with another that is partially defined the input file is contructed like this: the first line is