Is there a way to allow interactive plot manipulation without going into
interactive command mode? This is in an X11 environment (on Linux).
If I write, "gnuplot file -", the commands in file are executed and,
since they include a plot command, a plot window appears. I can then
interact with that plot window to scale it or select a portion for
closer examination. When I type "q", the plot window closes but the
gnuplot command interface is still active. I must then also type "exit"
(or ^D) to terminate the program.
If I write, "gnuplot file", the commands in file are executed and the
plot window briefly appears. But it immediately closes and the program
terminates.
What I want to accomplish is a mixture of the two results. I want the
plot window to stay open until I type "q", but when I do I also want the
entire program to end automatically. Is that possible?
|