Re: [Matplotlib-users] update colorbar on new incoming data

2009-06-06 Thread feldmaus
Eric Firing writes: > > > If x,y don't change, and if you are not using masked arrays, then you > might be able to add something like this: > > self.plots3.set_array(np.transpose(z).ravel()) > self.plots3.autoscale() > self.figure.canvas.draw() > > The colorbar ran

Re: [Matplotlib-users] update colorbar on new incoming data

2009-06-06 Thread Eric Firing
feldmaus wrote: > Hi All, > > The User of my program should use a slider element which lets compute > x,y and z and then my colorbar should also be updated with the new > computed x,y, and z values. > > How to do this ? > > There is a set_colorbar() method, but i dont know how to use it. > I als

[Matplotlib-users] update colorbar on new incoming data

2009-06-06 Thread feldmaus
Hi All, The User of my program should use a slider element which lets compute x,y and z and then my colorbar should also be updated with the new computed x,y, and z values. How to do this ? There is a set_colorbar() method, but i dont know how to use it. I also found a set_axes() method. Here