I'm using gnuplot 5.0 with term qt - Qt terminal. Now, when I plot (or splot) whatever I want I have always to follow this post command
set object 1 rectangle from screen 0,0 to screen 1,1 fillcolor rgb "white" behind
to set the background color to white. In fact, as default background color I have "black", so anytime I plot something, e.g.
set term qt
set pm3d
splot sin(x*y)
the output window has a black background, as below
Now, if i export the plot, it shows correctly the white background,
Since having an interactive term (such as qt) but can't interact with it is really annoying, the only possible way is to set manually the background color with the command set object or with the "Terminal configuration" tool, which anyway does not allow to change the color definitely
I've looked around, but nobody seems to know whether there's a command to change definitely the background color in qt terminal, so anytime I plot with tis term I have to change it manually.
Hope someone knows the solution! Thx!



~/.gnuplotand add there what you want to be in preamble. - user4489658