On Wed, Aug 31, 2011 at 5:34 AM, galorencom <galoren.com@...> wrote:
> I have an animation which shows 3D diffusion
> I added color bar at the side
> during the animation the colors changing but the scale at the colorbar of
> the graph stay asame.
> please help with that soon as you can!
This entirely depends on how you create your colorbar and how you update
your graphs. Generally, colorbars that are created use (implicitly or
explicitly) a ScalarMappable such as a ContourSet (from contour()) or
AxesImage (from imshow()). If you then create new objects instead of
modifying the existing objects, then the colorbar will still be referencing
the original scalarmappable.
If you are still confuse, post a stand-alone example of what you have and we
can help you out.
Get latest updates about Open Source Projects, Conferences and News.