Eric Firing efir...@... writes:
I don't understand what your question has to do with the colorbar; but
in anything like pcolor, if you swap X and Y, then at the same time you
need to transpose Z.
Thanks,
that was my Problem i had to transpose my z. :-)
numpy.transpose(z)
Regards Markus
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
Eric Firing efir...@... 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