Dear list,
I am making a 3d plot of a set of functions one after the other.
Actually I do this interactively, but what matter should only be that
I plot, clear the axis, plot again and so on.
I want to display a colorbar for each of those plots. The first thing
I tried was calling
Hi,
Is there a way to get the current colorbar (or a list of colorbars) for the
current axes and update the mappable property? If an update is not possible,
i would like to replace the current colorbar with a new one.
I've tried something similar to the following:
import pylab as plt
fig =
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
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 also found a
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