Re: [Matplotlib-users] quiver with angles

2009-09-13 Thread magnus_p
I tried the code you supplied and I didn't get it to work with the *angles* keyword, I got: "ValueError: shape mismatch: objects cannot be broadcast to a single shape" I have matplotlib.__version__ = '0.98.5.2'. Although after thinking about it for a while I did: from scipy import * import matpl

Re: [Matplotlib-users] quiver with angles

2009-09-11 Thread Eric Firing
n.l.o wrote: > Im a bit confused of how I should use the "quiver" plotting function. > > My data is 2D, a 512x512 data array, where every entry is an angle > (polarimetry). > I also have an array with the degree of polarization which would be nice to > colour-code in to the arrows. > So: > How do

[Matplotlib-users] quiver with angles

2009-09-11 Thread n.l.o
Im a bit confused of how I should use the "quiver" plotting function. My data is 2D, a 512x512 data array, where every entry is an angle (polarimetry). I also have an array with the degree of polarization which would be nice to colour-code in to the arrows. So: How do I use my angles to control t