From: John H. <jdh...@ac...> - 2003-10-31 13:59:19
|
>>>>> "Parekh," == Parekh, Hardik (IndSys, GE Interlogix) <har...@ge...> writes: Parekh> Hi, I'm pretty impressed with the abilities of Parekh> matplotlib. But, I want to do dynamic plotting in Parekh> python. So does this tool support dynamic plotting? I Parekh> didn't see any snapshots or demo for dynamic plotting. Parekh> Please let me know if I can do dynamic plotting or not, Parekh> and if I can, how? Is there any tutorial on it? Hi, Thanks for the email. In the future if you post the question to the mailing list I'll be more likely to see it quickly and others can help you as well http://lists.sourceforge.net/mailman/listinfo/matplotlib-users. Now, on to your question. Yes, matplotlib does support dynamic plotting, if I understand your question correctly. You can update the graphs in an animated fashion using either the gtk timer or idle functionality. See examples/system_monitor.py in the src distribution. Let me know if you need something other than this functionality, and I'll see about getting it incorporated. John Hunter |