Re: [matplotlib-devel] collection efficiency improvement

2006-06-19 Thread Eric Firing
John Hunter wrote: >>"Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > > > Eric> Based on a quick look, I think it would be easy to make > Eric> LineCollection and PolyCollection accept a numerix array in > Eric> place of [(x,y), (x,y), ...] for each line segment or > Eric>

Re: [matplotlib-devel] collection efficiency improvement

2006-06-15 Thread Helge Avlesen
On 6/15/06, John Hunter <[EMAIL PROTECTED]> wrote: > How often does it come up that we want a homogeneous line collection, > ie a bunch of lines segments with the same properties (color, > linewidth...)? Hi, for b&w PS publication quality plotting, this must be a common thing to draw; contour line

Re: [matplotlib-devel] collection efficiency improvement

2006-06-15 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Based on a quick look, I think it would be easy to make Eric> LineCollection and PolyCollection accept a numerix array in Eric> place of [(x,y), (x,y), ...] for each line segment or Eric> polygon; specifically, this coul

Re: [matplotlib-devel] collection efficiency improvement

2006-06-14 Thread Jordan Dawe
Eric Firing wrote: > Jordan, > > I understand what you wrote. I am a bit worried about the amount of > complexity it would add to the collection code, however, and it seems > like it would be useful only in quite special situations--and in those > situations, there may be reasonable alternative

Re: [matplotlib-devel] collection efficiency improvement

2006-06-14 Thread Jordan Dawe
I have one suggestion, slightly off-topic, and I'm not sure how useful it would be: you might think about making LineCollection accept a 3-D numerix array. This came up for me while I was looking at turning the quiver arrows into line segments. As I understand it (and as the documentation say

[matplotlib-devel] collection efficiency improvement

2006-06-14 Thread Eric Firing
Based on a quick look, I think it would be easy to make LineCollection and PolyCollection accept a numerix array in place of [(x,y), (x,y), ...] for each line segment or polygon; specifically, this could replaced by an N x 2 array, where the first column would be x and the second would be y. B