There is nothing available to push points -- matplotlib uses Numpy
arrays internally for the data, and they can not be (efficiently)
resized. I would try implementing this before assuming it's too slow.
Mike
On 07/05/2013 12:02 PM, v0idnull wrote:
Yes, but this is where I am failing. I don't
Yes, but this is where I am failing. I don't have the code with me right
now but I can explain it:
I get a new number every 2000 milliseconds, and I want to update the
graph say, every 50 milliseconds, and keep a minute of history visible
in the graph.
So that's 30 x-axis ticks.
But if I wa
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 problem
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
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 wr
I am receiving a number from a server every two seconds. I would like to plot
this number.out over time for the past say... 30 polls.
Would it be possible to use... Anything, to produce a smooth animation of the
plot line getting drawn? As it stands now the animation is well... Quite
choppy. ;)