On Tue, Mar 16, 2010 at 8:46 AM, Jon Olav Vik wrote:
> Thank you, thank you, thank you.
>
> This is just as convenient, 50% faster even for 1000 series, and runtime does
> indeed scale as O(n) up to 1 series. The projected speedup for 6
> series
> was 40x. However, in my actual use case
If you're plotting lots of lines, do not use plot but use
LineCollection instead.
http://matplotlib.sourceforge.net/examples/api/collections_demo.html
http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection
Here is slightly modified version of your code t