bring legend to the front in gnuplot Recent gnuplot versions allow you to say "set key opaque", which I think does what you want.