Jeff,

http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py?r1=5520&r2=5534

Lines 2311 and 2312 in changeset 5520 have bitten me badly, and I think 
they are ill-advised.  They are based on the assumption that input to 
rotate_vector, which must be called before m_quiver, should be 
describing a rectangular array of points; but this is not the case for a 
typical oceanographic use-case, plotting current vectors as measured 
along a ship track.  In that case one naturally has 4 1-D vectors of the 
same shape for U, V, X, and Y, and one does not want meshgrid to be 
called on X and Y.  If you want automatic meshgrid, it should be called 
only if X and Y are 1-D *and* their lengths match the 2-D shape of U and V.

Eric

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to