Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread Michael Droettboom
Have you looked at the simple_anim.py example -- other than the networking piece, it seems to do what you describe, and it's pretty fast. Maybe start from that and make changes until it gets slow in order to determine where the slowness comes from...? Mike On 07/03/2013 09:19 PM, v0idnull

Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread v0idnull
eh Let me explain my problem in a different way: Every two seconds I get a value from a service. Let's say I over 8 seconds I get 1, 5, 10, 5 as values. So if my application updates the graph every two seconds, this will look choppy and ugly. This is because every two seconds, an entire

Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread Michael Droettboom
I see -- you want to basically interpolate between points? I don't think there's anything built in to matplotlib to do that, but you could always do that interpolation outside and just update the graph more often. Mike On 07/04/2013 04:28 PM, v0idnull wrote: eh Let me explain my