On 2012/09/22 3:03 AM, reckoner wrote: > Hi, > > I have a plot that includes arrows drawn by the quiver command. I would > like to create animation using Func Animation, but I don't know how to > update the quiver arrows. I can update everything else on the plot and > animates fine. > > Does anybody know how to update the quiver arrows in an animation? I > know the quiver arrows have a XY property, but changing that doesn't > update the plot.
You cannot update the arrow positions without making a new Quiver instance, so to animate with varying positions, you will need to delete the previous Quiver instance and make a new one for each frame. Eric > > Thanks! ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users