Re: [Matplotlib-users] Happy Valentine's Day

2011-02-14 Thread Paul Ivanov
jules hummon, on 2011-02-14 07:23, wrote: > Feel free to 'save and run', pass along, or ignore. > This was my valentine's day present today. Thank you for sharing! I took the liberty of livening it up for my sweetheart. #--- # hohumheartbeat.py - a

Re: [Matplotlib-users] Any update on streamline plot

2011-02-14 Thread Benjamin Root
On Mon, Feb 14, 2011 at 5:30 PM, John Hunter wrote: > On Sun, Feb 13, 2011 at 11:45 PM, Tom Flannaghan wrote: > > > It would also be helpful if anyone has suggestions on a particular issue > I had. > > Currently, to plot variable-width lines (i.e. streamlines2.png) I use a > plot > > command for

Re: [Matplotlib-users] Any update on streamline plot

2011-02-14 Thread John Hunter
On Sun, Feb 13, 2011 at 11:45 PM, Tom Flannaghan wrote: > It would also be helpful if anyone has suggestions on a particular issue I > had. > Currently, to plot variable-width lines (i.e. streamlines2.png) I use a plot > command for each line segment which is very slow and nasty. Is there a bett

Re: [Matplotlib-users] Any update on streamline plot

2011-02-14 Thread Jeff Whitaker
On 2/13/11 10:45 PM, Tom Flannaghan wrote: > Hi, > > I've written a script to roughly emulate the elegant streamline plots found in > Mathematica. The code is available at > http://www.atm.damtp.cam.ac.uk/people/tjf37/streamplot.py and example plots at > http://www.atm.damtp.cam.ac.uk/people/tjf37/

Re: [Matplotlib-users] memory usage with repeated imshow

2011-02-14 Thread Tom Dimiduk
Thank you for your help. I upgraded to the latest development version, and as you said, memory use dropped a ton. I will have to test more to confirm that the problem is completely gone, but this appears to bring memory usage down to something quite manageable (at least on my 8gb box ...). T

Re: [Matplotlib-users] Update individual elements (i.e an artist) for drawing

2011-02-14 Thread Paul Ivanov
Aman Thakral, on 2011-02-09 15:40, wrote: > Hi, > > I was just wondering, how would I go about redrawing only a single element > (i.e. an artist)? I know that matplotlib.artist.Artist has a draw() method > that accepts a renderer as the argument. > > I tried something along the lines of: > > re

Re: [Matplotlib-users] Checking if figure is on screen

2011-02-14 Thread Paul Ivanov
Bartosz Telenczuk, on 2011-02-13 23:16, wrote: > Hi, > > I am writting an application in which I update dynamically the state > of the figures. When I am done I call the Figure.canvas.draw function > to redraw the figure. However, when the window was previously closed > by the user the upda

Re: [Matplotlib-users] problems with latest Matplotlib 1.0, pyQt4 and py2exe

2011-02-14 Thread Stef Mientki
After searching for the path in all files in the distro, I found the problem: font caching of Matplotlib After removing C:\Documents and Settings\Administrator\.matplotlib everything works ok. So the remaining question is, is there an elegant way, either in py2exe or in matplotlib, to get aroun

Re: [Matplotlib-users] problems with latest Matplotlib 1.0, pyQt4 and py2exe

2011-02-14 Thread Christoph Gohlke
On 2/14/2011 12:41 PM, Stef Mientki wrote: > Ran into the same problem, > are there any hints to track down the problem. > > I tried to remove the MatPlotLib from py2exe and added MatPlatlib manual > afterwards, > but still it point to the wrong directory. > > thanks, > Stef Mientki > > > On 26-

Re: [Matplotlib-users] problems with latest Matplotlib 1.0, pyQt4 and py2exe

2011-02-14 Thread Stef Mientki
Ran into the same problem, are there any hints to track down the problem. I tried to remove the MatPlotLib from py2exe and added MatPlatlib manual afterwards, but still it point to the wrong directory. thanks, Stef Mientki On 26-12-2010 15:18, zb wrote: > Hi. > > First of all, I would like to

Re: [Matplotlib-users] matploblib multithreading

2011-02-14 Thread Aman Thakral
Have you looked into Celery? It is a queuing system with Django ORM support. I don't have any experience with it myself, but I have heard good things about it. -Aman 2011/2/14 wukan : > Hi ,When I use matplotlib to draw 2D graphics in django web site,I encounter > a problem. > when server users

[Matplotlib-users] matploblib multithreading

2011-02-14 Thread wukan
Hi ,When I use matplotlib to draw 2D graphics in django web site,I encounter a problem. when server users use matplotlib to draw graphics simultaneously will cause website collapse. when one user use matplotlib to draw graphics will have no problem. i suppose matplotlib doesnot support multithre

Re: [Matplotlib-users] griddata

2011-02-14 Thread Ryan May
On Mon, Feb 14, 2011 at 8:40 AM, Nils Wagner wrote: > Hi all, > > Is it possible to apply griddata to polar coordinates or > do I need cartesian coordinates ? > > http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata You can keep the data in polar coordinates, you just need

[Matplotlib-users] Some interactive Matplotlib GUI tutorials on basic stats, possibly useful for teaching

2011-02-14 Thread Rajeev Raizada
Dear Matplotlib folks, Those of you whose duties include teaching basic stats might be interested in these interactive tutorial files, designed to illustrate basic concepts. Running the code opens up an interactive figure window, using Matplotlib for the GUI and the plots. When you click on a figu

[Matplotlib-users] griddata

2011-02-14 Thread Nils Wagner
Hi all, Is it possible to apply griddata to polar coordinates or do I need cartesian coordinates ? http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata Nils -- The ultimate all-in-one performanc

[Matplotlib-users] Happy Valentine's Day

2011-02-14 Thread jules hummon
Feel free to 'save and run', pass along, or ignore. This was my valentine's day present today. I hope the bandwidth amuses more than it annoys... Jules #-- # hohumheart.py import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib.

[Matplotlib-users] Any update to plot_surface? Problem to set it in log scale

2011-02-14 Thread Gaël KANEKO
Hi, I have some problems to plot a 3d plot_surface (and contour plot) in log scale (y and z or x,y and z). There is nothink in the help sections of thus plot to plot them in log scale (neither in thus plot code commentary). I tried to find a solution by myself (many try as "log=True", "xscale='l

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-02-14 Thread Stephan Markus
That solution might be fine for static plots, but I my case I prefer my solution. My plot is quite interactive so using your solution causes many problems with my code. -- View this message in context: http://old.nabble.com/onpick-on-a-2-y-plot-%28-via-twinx%28%29-%29-seems-to-only-allow-pick