|
From: Daniel J S. <dan...@ie...> - 2004-09-13 06:23:13
|
I've put the patch that allows connecting gnuplot_x11 to an external X window up on SourceForge. In there I've updated Donald's demo with some of the tk8.3 demos. There is a screen capture at http://acer-access.com/~ds...@ac.../gnuplot/gpdemos.png The demo is a Tcl/Tk script I placed in the /demo subdirectory called "gpdemos.tcl". It is self-explanatory. It turned out fairly well, but there are a couple problems with the demo. Some of the demo scripts hang and can't be broken from. I think it has something to do with the pipe/flush communication between the Tcl/Tk program and gnuplot. (What else is new?) I suspect that because before I implemented a clean exit, often when it would hang and I'd quit all the queued up demos would first execute in gnuplot/gnuplot_x11 and then that would exit. The other thing is I can't figure out a way in Tcl/Tk to generate a frame that does not grab ahold of the mouse button. Hence, the mouse action can't be handed over to gnuplot_x11. Dan |