Hi,
I want to animate a scatter plot using the pylab interface. Something like
this:
ion()
s=scatter(x,y,s,c)
for i in range (10):
#update data
s.draw()
s is a RegularPolyCollection and thuse does not have a set_data method.
How am I supposed to update the data so that I can modify the pl
Hi,I am tring to figure out how to use the c argument to the quiver2 function.I want to be able to color my arrows proportionally to their size. I have tried this and it doesn' t work as I imagined:
c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)quiver2(x,y,u,v,c)the docstring on quiver2 is
Thanks Eric,in fact it depends on if x,y are 0 or not. But I got it to work it now. thanks,FlávioOn 8/22/06, Eric Firing <
[EMAIL PROTECTED]> wrote:Flavio Coelho wrote:> Hi,>> I am tring to figure out how to use the c argument to the quiver2 function.
>> I want to be able to color my arrows proport
hi which is the latest version of numpy supported by matplotlib?I recently updated to numpy 1.0b2 and I cant import pylab anymore.part of the problem is this code of numerix.__init__.py:
elif which[0] == "numpy": try: import numpy.oldnumeric as numpy from numpy.oldnumeric import *
Hi,I am having a strange behavior with the size of axes in imshow. the attached code worked fine with an older version of Pylab, but with the latest SVN, the plots are appearing very narrow (vertically)in the middle of the window instead of resizing to take up the whole frame.
can anyone please ill