I often use the wxt
terminal of Gnuplot to do some quick data inspection. I like the interactivity, such that I can easily gain control and zoom/move et cetera.
I believe have found a workaround for this problem. But not sure if this works for all cases.
My solution sounds like obvious.
I created three files: configs.plt
, wxt1.plt
, and wxt2.plt
.
The configs.plt
file contains:
set style line 1 lc "#e41a1c"
set style line 2 lc "#377eb8"
The wxt1.plt
file contains:
set terminal wxt title "plot sin"
load "configs.plt"
plot sin(x) w l ls 1
The wxt2.plt
file contains:
set terminal wxt title "plot cos"
load "configs.plt"
plot cos(x) w l ls 2
The only boring thing is run two instead one file.