Note: You all know I'm not normally a Windows user and can only test under linux+wine. So this may not be a problem on Windows proper, or habitual Windows users may be so used to it that they don't notice.
Every "plot" or "splot" command causes the console window to lose focus. In order to continue typing I need to use the mouse to select the console window, click, and then continue. That is maddening. Is there a way to stop the program from losing focus when it executes a plot command?
I am aware of the "space-raises-console" hack, but that doesn't actually help in my case. In order to type the space in a plot window I would still have to grab the mouse, select the window, click, type space, then return the mouse to the console window. That's strictly worse than using the mouse to click on the console window directly.
On Windows, the plot window is raised and - by default - gets the input focus. So typing "space" brings up the terminal again.
If you prefer to disable that behaviour, untick "Options->Bring to Top" in in the graph window. Make it permanent by "Options->Update wgnuplot.ini".
Ah. Great. Options->Bring to Top does it.
Thanks.
Typing "space" doesn't work on my setup because focus can only be under the mouse cursor. When the console window yields focus but the mouse cursor is still over it, typed characters go into a black hole.
Stupid question: Where do wxt and qtl store the graph options? They get retained nicely, without explicitly storing them, but how?
~/.gnuplot-wxt
~/.config/gnuplot/qtterminal.conf
In the case of Qt this file name is constructed by a Qt library routine, so I'm not sure it will be the same for all Qt flavors or versions.
No such files on windows, but there are registry entries under HKEY_CURRENT_USER/Software/gnuplot/... for both wxt and qt.