On Sat, Sep 22, 2012 at 12:40 PM, Eric Firing <ef...@ha...> 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
|