|
From: hjc520070 <jia...@16...> - 2007-11-23 04:55:06
|
I just want to a dynamic plot with a line show in a plot. The line changes every second when it gets the different data(xdata(),ydata()) from list[i]. list[1]=([1,2],[3,5]) list[2]=([1,2],[3,5],[5,4]) list[3]=([1,2],[3,5],[5,4],[7,6]) list[4]=([1,2],[3,5],[5,4],[7,6],[9,7])...... for example, when list[1] in set for the data of the line, I will get a line with two point (1,2)(3,5). After a second,list[2] is auto setted for the data of the line, and I will get a line with three point. With the different list[i] setted for the line, the line changed. I just tried it again and again, but failed. Can somebody help me? And just give a short code to do it. Thank you. -- View this message in context: http://www.nabble.com/pylib-dynamic-plot.-tf4859796.html#a13907020 Sent from the matplotlib - devel mailing list archive at Nabble.com. |