Hi, RTFM...indeed it works. However, the axis do not scale accordingly:
quiver([1],[1],[2],[2], angles='xy', scale_units='xy', scale=1) on a TkAgg backend produce a plot with: In [11]: axis() Out[11]: (0.94000000000000006, 1.0600000000000001, 0.94000000000000006, 1.0600000000000001) The display area scales the same way as it does using quiver([1],[1],[2],[2]) (without any other args). It looks like a bug. Xavier > Hi Xavier, > > You can pass some handy keyword arguments to fix that. Use the following: > > quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1) > > Hope that helps :) > > > Regards, > -- Damon > > -------------------------- > Damon McDougall > Mathematics Institute > University of Warwick > Coventry > CV4 7AL > d.mcdoug...@warwick.ac.uk > > On 22 Nov 2009, at 16:37, Xavier Gnata wrote: > > >> Hi, >> >> I woud like to draw a vector field using pylab. >> quivert looks nice but it sould not scale the arrows to fit my use-case. >> quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the >> arrow is not at (1.2,1.2). >> Is there a way to plot a list of arrows *without* any scaling? >> >> Xavier >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users