|
From: Jun T. <tak...@kb...> - 2015-07-21 22:12:57
|
(CVS at sourceforge is down; I hope the mailing list is alive.) Attached are two pdf files generated by gnuplot> set key opaque gnuplot> plot [0:1] x**0.5, x, x**2 with aqua and qt terminals. As you can see, the key's background in aqua.pdf is almost black. This is due to that the linetype -4 is set to 'almost black' at line 390 of aquaterm.trm. The following patch sets linetype -4 to white. Since 'set term aqua' does not have the option 'backdround', I think it safe to assume that the background is always white. --- term/aquaterm.trm.ORG 2015-02-25 09:23:14.000000000 +0900 +++ term/aquaterm.trm 2015-07-21 21:14:12.000000000 +0900 @@ -387,7 +387,7 @@ * Set up the basic indexed colormap for gnuplot */ /* Special colors */ - [adapter setColormapEntry:0 red:0.1 green:0.1 blue:0.1]; /* linetype -4 */ + [adapter setColormapEntry:0 red:1.0 green:1.0 blue:1.0]; /* linetype -4 */ [adapter setColormapEntry:1 red:0.9 green:0.9 blue:0.9]; /* linetype -3 (xor;interactive) light gray */ [adapter setColormapEntry:2 red:0.0 green:0.0 blue:0.0]; /* linetype -2 (border) black */ [adapter setColormapEntry:3 red:0.8 green:0.8 blue:0.8]; /* linetype -1 (gridlines) light grey */ |