Re: [matplotlib-devel] new Quiver progress

2006-06-12 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> I don't understand how event handling works, so I am Eric> wondering: can we indeed be sure that window resize etc Eric> events are being blocked inside the freeze/thaw block in Eric> Axes.draw()? Are they blocked insid

Re: [matplotlib-devel] new Quiver progress

2006-06-12 Thread Eric Firing
John Hunter wrote: >>"Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > > > >> Hey someone said something nice about transforms! > > Eric> About time, isn't it! > > Eric> One thing I still don't understand: when is it necessary to > Eric> bracket code with freeze/thaw? > >

Re: [matplotlib-devel] new Quiver progress

2006-06-06 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: >> Hey someone said something nice about transforms! Eric> About time, isn't it! Eric> One thing I still don't understand: when is it necessary to Eric> bracket code with freeze/thaw? It's never necessary, it's an optimizat

Re: [matplotlib-devel] new Quiver progress

2006-06-06 Thread Eric Firing
> Hey someone said something nice about transforms! About time, isn't it! One thing I still don't understand: when is it necessary to bracket code with freeze/thaw? > > Eric, I haven't had a chance to try this code out but I did read > through it and it looks very nice. A small comment: fig.

Re: [matplotlib-devel] new Quiver progress

2006-06-06 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: > "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> arrow 1/50th the width of the plot. Change the window Eric> width, and the arrow length changes along with it. Zoom, Eric> and it does not change, however. In all ca

Re: [matplotlib-devel] new Quiver progress

2006-06-06 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> arrow 1/50th the width of the plot. Change the window Eric> width, and the arrow length changes along with it. Zoom, Eric> and it does not change, however. In all cases, the arrow Eric> direction remains constant, reg

Re: [matplotlib-devel] new Quiver progress

2006-06-05 Thread Gary Ruben
Eric Firing wrote: > Gary, > > Thanks for the prompt test and report. > > I agree that the ability to put a dot at locations where arrows are > below a threshold would be good. I will add it. I think it should be > similar to a circle marker that scales with the arrow width, and has a > diam

Re: [matplotlib-devel] new Quiver progress

2006-06-05 Thread Gary Ruben
Hi Eric, Having entered the build-from-source world with the latest ubuntu, I applied your patch and tried it out with the example code I sent you using a call similar to quiver2(x,y,u,v,units='x',width=0.5,headwidth=3,headlength=3,headaxislength=2) This works very nicely for my purposes - per

Re: [matplotlib-devel] new Quiver progress

2006-06-05 Thread Gary Ruben
This is good news Eric and sounds like the desired behaviour. Thanks for letting me know. I was intending to try to work it out this weekend but have spent my time instead learning to build numpy/scipy/matplotlib from source - a worthwhile exercise. I don't think JDH/Charlie should wait for new

Re: [matplotlib-devel] new Quiver progress

2006-06-05 Thread Eric Firing
Gary, Thanks for the prompt test and report. I agree that the ability to put a dot at locations where arrows are below a threshold would be good. I will add it. I think it should be similar to a circle marker that scales with the arrow width, and has a diameter that is a fraction of that wid

Re: [matplotlib-devel] new Quiver progress

2006-06-05 Thread Eric Firing
Robert Hetland wrote: Let me know if you would like to do a quick alpha test before you commit. I'll help to put it through the paces.. -Rob. Rob, Thanks. Attached are a diff against svn and a test script to get you started. If you apply the diff as a patch, you should be able to call

[matplotlib-devel] new Quiver progress

2006-06-03 Thread Eric Firing
Jordan, Gary, I have been working on another implementation of quiver functionality. It is not ready to commit yet, but I think I have the transforms worked out reasonably well. The arrows never get distorted, and their orientation is preserved as the axes are manipulated. Length can be pres