|
From: Maximilian F. <mx...@gm...> - 2008-01-23 00:03:18
|
Hi all, fist of all I apologize if this topic came up recently already. I love to use shell scripts for my work and to use gnuplot to present intermediate results. Now, it would be great if I could present a plot, let the user use all the great interactive features of the x11 terminal like zooming and continue my script only after the user closed the terminal. Alternatively if I could define a key - "q" for example - which closes the current plot and continues the gunplot script, that would be great. A typical shell script of mine would look like this --- SNIP --- ### generate some data in data.dat echo "plot 'data.dat'" > plotit.tmp echo "pause -1" >> plotit.tmp gnuplot plotit.tmp ### continue working on the data --- SNIP SNIP --- But because of the "pause -1" the user has to focus the terminal and hit a key before the script continues. Before I start digging through code, is there already a solution to this? Am I trying to do something stupid? Cheers, Maximilian |