Search code examples
gnuplot

How do I change the background color in gnuplot?


I have a script that renders graphs in gnuplot. The graphs all end up with an ugly white background. How do I change this? (Ideally, with a command that goes into a gnuplot script, as opposed to a command-line option or something in a settings file)


Solution

  • Ooh, found it. It's along the lines of:

    set terminal png x222222 xffffff