I have a simple python script which prints numbers from 2 to 10 and then from 10 down to 2 as well, then printing is delayed by timer.
The question is: is it possible to plot real time graph which can behave accordind to the numbers if they are increasing the graph should be increasing, if the numbers are decresing the graph should decrease as well. below is an example of the python script of which it should depend on
import time
values = [2, 4, 6, 8, 10, 8, 6, 4, 2, 0]
for v in values:
print v
time.sleep(2)