Hi, I've recently started using pylab, and its not clear
> to me how to do a 2d animation.
> If I have a 3d numeric array (eg
> arr=RandomArray.randint(0,127,(100,256,256))) how can I
> display arr[0], then arr[1], then...
> The way I've tried seems to slow down as I progress,
> suggesting that its drawing all previous arrays before
> drawing the current one.
Have you looked at the animation examples that come with the
matplotlib distribution?
matplotlib/examples> ls *anim* dynamic_* sys*
animation_blit_fltk.py anim.py dynamic_image_gtkagg.py
animation_blit.py anim_tk.py dynamic_image_wxagg2.py
animation_blit_tk.py dynamic_demo.py dynamic_image_wxagg.py
animation_blit_wx.py dynamic_demo_wx.py system_monitor.py