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

2011-02-16 Thread Tom Flannaghan
> Ben, John: Later this week or next, I'll take a crack at adding both of > these to quiver.py and > axes.py (one under the name "streamlines", the other as "streamplot"). This is a great idea. I've had some time to improve the code, and so you have something better to work with! If you ha

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

2011-02-15 Thread Jeff Whitaker
On 2/14/11 4:54 PM, Benjamin Root wrote: On Mon, Feb 14, 2011 at 5:30 PM, John Hunter > wrote: On Sun, Feb 13, 2011 at 11:45 PM, Tom Flannaghan mailto:tj...@cam.ac.uk>> wrote: > It would also be helpful if anyone has suggestions on a particular issue I had.

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] Any update on streamline plot

2011-02-13 Thread Tom Flannaghan
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/streamlines1.png and streamlines2.png. It's a pre

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

2011-02-12 Thread Ray Speth
Ben, Thanks for the suggestions. I've updated the code accordingly. I tend to use **kwargs because it enforces passing arguments in by keyword, but your point on IDE friendliness is well taken. Someday, we'll move to Python 3 with its support for keyword-only arguments... I've also added a lic

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

2011-02-12 Thread Jason Grout
On 2/11/11 3:06 PM, Ray Speth wrote: > Hi, > > I wrote a script to generate streamline plots using matplotlib a while > ago, and this post inspired me to finally clean it up a bit. The code is > available at http://web.mit.edu/speth/Public/streamlines.py and you can > see an example of its output a

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

2011-02-12 Thread Benjamin Root
On Fri, Feb 11, 2011 at 3:06 PM, Ray Speth wrote: > Hi, > > I wrote a script to generate streamline plots using matplotlib a while > ago, and this post inspired me to finally clean it up a bit. The code is > available at http://web.mit.edu/speth/Public/streamlines.py and you can > see an example

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

2011-02-11 Thread Ray Speth
Hi, I wrote a script to generate streamline plots using matplotlib a while ago, and this post inspired me to finally clean it up a bit. The code is available at http://web.mit.edu/speth/Public/streamlines.py and you can see an example of its output at http://web.mit.edu/speth/Public/streamline

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

2011-02-11 Thread Jeff Whitaker
On 2/11/11 9:45 AM, Jeff Whitaker wrote: > On 2/11/11 9:10 AM, Gökhan Sever wrote: >> Hi, >> I see two related requests on: >> http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html >> http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg07267.html >> a request filed

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

2011-02-11 Thread Jeff Whitaker
On 2/11/11 9:10 AM, Gökhan Sever wrote: > Hi, > I see two related requests on: > http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html > http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg07267.html > a request filed on > http://sourceforge.net/tracker/index.php?

[Matplotlib-users] Any update on streamline plot

2011-02-11 Thread Gökhan Sever
Hi, I see two related requests on: http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg07267.html a request filed on http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723