Animate scatter plots

Hi Eric,

I've looked through the latest examples as well as google and the list
archives, and am still at a loss -- can anyone point me to an example of
how to animate a scatter plot?

I've attached a somewhat unpolished but functional example that shows
time-synchronized animation of multiple scatter plots. It uses the wx
backend explicitly, due to some issues with the idle event handling.

The collection returned by scatter() lacks anything akin to a set_data method.

Yup, you want this instead:
collection.set_offsets(xy)
collection.set_array(s)

-Eric

animation.py (10.4 KB)

ยทยทยท

On Fri, Nov 21, 2008 at 11:19 AM, Eric Jonas <jonas@...1166...> wrote: