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 pretty hacky script, but fast and fairly robust. If 
anyone finds this script useful and has comments/suggestions, I'm happy to do a 
bit more work.

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 better 
way I'm missing?

Tom


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to