Jordan,

Are you sure you want to use a LineCollection for this?  If you do, someone is 
sure to say, "But I want red arrows with black borders..."  

My impression from the earlier posts on this topic was that part of the trouble 
was an attempt to be too clever and too automatic; this was interfering with 
getting the transforms right so that the arrows would look right, like text, 
regardless of how the axes are stretched or squished.  Maybe the LineCollection 
makes this easier, but I am reasonably sure it can be done cleanly and well 
with PolyCollections also.  (I am biased toward the PolyCollection approach 
because it is closer to the m_vec.m functionality I added to Rich Pawlowicz's 
m_map; I will need something like this for basemap if it does not already 
exist.)

Eric


----- Original Message -----
From: Jordan Dawe <[EMAIL PROTECTED]>
Date: Monday, May 29, 2006 7:18 pm
Subject: [matplotlib-devel] Quiver
To: matplotlib development list <matplotlib-devel@lists.sourceforge.net>

> Ok, I have some questions about what the protocol for patch 
> submission 
> should be, in terms of 'completeness' of the patch.
> 
> I have a patch for the quiver function that is half done... it has 
> converted the arrows from patches to linecollections, and it will 
> accept 
> arbitrary X and Y coordinates for the arrow positions, as suggested 
> by 
> Rob.  Unfortunetly, none of the color functionality is working.  
> Partly 
> this is because the color functionality of LineCollection is 
> different 
> from PolyCollection (which quiver originally used) and partly 
> because I 
> don't understand how matplotlib sets colors at all.  Should I 
> submit 
> this half finished patch so that others can have a chance to 
> improve the 
> color function?  Or should I not submit until I figure out how 
> color 
> works and fix the thing?
> 
> Furthermore, can LineCollection actually do all the things that 
> quiver's 
> old color commands demand of it?  I don't see a place to set a 
> colormap 
> for a LineCollection, but as I said, I don't understand it very well.
> 
> Jordan
> 
> 
> -------------------------------------------------------
> All the advantages of Linux Managed Hosting--Without the Cost and 
> Risk!Fully trained technicians. The highest number of Red Hat 
> certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642_______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to