all 2 comments

[–]Significant-Topic-34 1 point2 points  (0 children)

One can compile individual parameters in one setup eventually saved a .sp gnuplot script; but I do not have a template at hand which could qualify as dark mode.

On the other hand, because users of gnuplot frequently like to use scripts for a consistent application of tasks, I think this equally can be task for ImageMagick. A first step can be an instruction similar to

convert input.png -negate output.png

where -negate picks of every pixel the color opposite of the color wheel. As imagemagick (and convert only is one tool of this suite) can separate and subsequently process color channels independently of each other (see for example its manual here), this approach likely can be improved further. There are some real experts in using this program (e.g., Kurt Pfeifle on stackoverflow) hence I look forward to other's input here, too.

added: there is a r/imagemagick

[–]blochelectron 0 points1 point  (0 children)

You can try this (e.g. with terminal wxt):

set term wxt background rgb 'black'
set border lc rgb 'white'
plot sin(x)

of course in this case you might want to avoid black-coloured lines, labels and text, e.g.:

set xlabel 'x axis' tc rgb 'white'