alt
F4
or
ctrl
q. If you are unsure whether
a suitable widget or hot-key is available to the user, you may also want to
define a hot-key sequence using gnuplot's own mechanism. See bind (p.
).
The command sequence below may be useful when running gnuplot from a script rather than from the command line.
plot <...whatever...>
bind all "alt-End" "exit gnuplot"
pause mouse close