On Sat, Sep 22, 2012 at 12:40 PM, Eric Firing <efir...@hawaii.edu> wrote:
> 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.

Given this, it might be best to use ArtistAnimation then, which should
handle turning on and off artists that you provide as a list of list
of artists.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to