Re: [Matplotlib-users] quiver question

2009-11-30 Thread Eric Firing
Alan G Isaac wrote: > On 11/29/2009 11:44 PM, Eric Firing wrote: >> in svn there is such an option, but it still doesn't seem to >> do exactly the right thing in this case > > OK, looking forward ... Try svn 7993 with "scale_units='xy', angles='xy', scale=1". Having a separate "scale_units" kwarg

Re: [Matplotlib-users] quiver question

2009-11-29 Thread Alan G Isaac
On 11/29/2009 11:44 PM, Eric Firing wrote: > in svn there is such an option, but it still doesn't seem to > do exactly the right thing in this case OK, looking forward ... Thanks, Alan -- Let Crystal Reports handle the

Re: [Matplotlib-users] quiver question

2009-11-29 Thread Eric Firing
Alan G Isaac wrote: > On 11/29/2009 12:10 PM, Eric Firing wrote: >> quiver(x[:-1], y[:-1], u, v, angles='xy', units='x', scale=1) >> > > That works perfectly when there is change only in x, > but not when both coordinates change. It seems like > I want a `units='xy'` option, to get the right > sc

Re: [Matplotlib-users] quiver question

2009-11-29 Thread Alan G Isaac
On 11/29/2009 12:10 PM, Eric Firing wrote: > quiver(x[:-1], y[:-1], u, v, angles='xy', units='x', scale=1) > That works perfectly when there is change only in x, but not when both coordinates change. It seems like I want a `units='xy'` option, to get the right scaling along each axis, but it does

Re: [Matplotlib-users] quiver question

2009-11-29 Thread Eric Firing
Alan G Isaac wrote: > I have a collection of 2d points xy. > Instead of simply plotting the points, > I'd like to plot a collection of arrows > that goes from each point to the next. > The "from" is easy of course; > the "to" is the problem. > > I think I should be able to use quiver, > but I'm no

[Matplotlib-users] quiver question

2009-11-29 Thread Alan G Isaac
I have a collection of 2d points xy. Instead of simply plotting the points, I'd like to plot a collection of arrows that goes from each point to the next. The "from" is easy of course; the "to" is the problem. I think I should be able to use quiver, but I'm not getting it quite right. E.g., x,y =