Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-25 Thread Goyo
2013/8/23 Kari Aliranta : > 23.08.2013 20:57, Eric Firing kirjoitti: > Thank you. I'd like to stick to pure OO, but I'm using some > third party open source code that uses pylab extensively for > rather large and interactive (as in "includes scrollbars, > buttons and several types of events") figu

Re: [Matplotlib-users] Graph animation performance

2013-08-25 Thread Skip Montanaro
> def updateGraph(self,data): > datacut = data[1 - self.DiagrammBreite.get_value():1] > self.line.set_ydata(datacut) > self.line.set_xdata(numpy.arange(0, datacut.size, 1)) > self.fig.canvas.draw() If nothing else, it appears that the plot's x data are c

[Matplotlib-users] Graph animation performance

2013-08-25 Thread Peter Zimmer
Hello, I want a real-time animation. There is no loop in the animation because the data comes from the real world (AD data). I wrote this class: class Eigendiagramm(object): def __init__(self,daten): self.DiagrammBreite = gtk.Adjustment(100,20,1,1,10,10) self.DiagrammBreit