I am trying to do the following:
Create a scrollable canvas using Tk. On the scrollable canvas, plot a graph using X-Y coordinates. X is essentially time while Y is a number. As the time progresses, the new numbers arriving have to be plotted.
Two things have to happen:
1. The view of the canvas has to change as a new point is drawn since a new number has arrived.
2. The X axis has to change its time value. For example, if a new number came in at 11:30:00 and is plotted, the number that was plotted at the time 09:30:00 has to disappear from the canvas.
Like a ticker tape...
This last part is the one I wrestling with. Can someone help me or point me in the right direction?
Thanks.
Create a scrollable canvas using Tk. On the scrollable canvas, plot a graph using X-Y coordinates. X is essentially time while Y is a number. As the time progresses, the new numbers arriving have to be plotted.
Two things have to happen:
1. The view of the canvas has to change as a new point is drawn since a new number has arrived.
2. The X axis has to change its time value. For example, if a new number came in at 11:30:00 and is plotted, the number that was plotted at the time 09:30:00 has to disappear from the canvas.
Like a ticker tape...
This last part is the one I wrestling with. Can someone help me or point me in the right direction?
Thanks.