Hi all! I'd like to embed a mpl graph into a GTK application (and for that embedding_in_gtk*.py examples are fine) but I would also like to dynamically update the graph with time.
Consider like if I want to plot some dynamic system information, like cpu usage, memory occupation, or so. Than I want to gather those info at 1 sec interval, and dynamically update the graph adding the new values. How can I do it? I'm stuck with the "update data as they come" part (please note I need for GTK embedded mpl code). Thanks in advance, Sandro PS: if there's someone that knows how to gather cpu percentage usage on a linux sys, please tell me :) It seems not that easy to find it out from google ;) -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users