Hi All,


I need a help to plot a graph using Tk in real time, assume we are generating the values continuously in a loop, the graph needs to be plotted with those values in real time. I have taken two approaches but it able to make it out:

1. Common Variable Method
1. First you can have a common variable which keeps updated every second
       2. Read the variable every second and plot the same on the graph
2.Global Array Variable
1.A global variable of array type which gets on filled every second by a function 2.Another function which plots the graph reads this array every second and plots the same

Is this possible to do this using tcl/tk? Please reply me if anyone has done this.



Thanks in Advance

_________________________________________________________________
Fall in Love... Get married! Join FREE! http://www.shaadi.com/ptnr.php?ptnr=msnhottag

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to