|
From: Benjamin R. <ben...@ou...> - 2011-09-02 14:42:22
|
On Wed, Aug 31, 2011 at 5:34 AM, galorencom <gal...@gm...> wrote: > > Hello > 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! > Thanks! > Gal:working: > 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. Ben Root |