Drawing a zig-zag Trail in Python?

W. eWatson wolftracks at invalid.com
Sat Feb 6 03:49:08 CET 2010

On 2/5/2010 9:30 AM, Grant Edwards wrote:
> On 2010-02-05, W. eWatson<wolftracks at invalid.com>  wrote:
>> I'd like to draw something like an animal track. Between each
>> point is a line. Perhaps the line would have an arrow showing
>> the direction of motion. There should be x-y coordinates
>> axises. PIL? MatPlotLib, ??
> I'd probably use gnuplot-py, but I'm probably biased since I've
> been using gnuplot since way before I learned Python.
It appears this is easier than I thought. MLB's plot will do it. I can 
put arrows at the end of a line, and even use sleep to watch the path 
slowly evolving.

More information about the Python-list mailing list