|
From: Daniel B. <dbo...@gm...> - 2018-02-07 17:20:41
|
Hi, Take the following script, minimally modified from https://stackoverflow.com/a/30832843 set terminal svg background rgb 'black' > set output 'bw.svg' > > set xlabel 'ylabel' tc rgb 'white' > set ylabel 'xlabel' tc rgb 'white' > set border lc rgb 'white' > set key tc rgb 'white' > > set linetype 1 lc rgb 'white' > plot x lc 1, x**2 lc 1 > It renders an SVG with a black background and white everything else. Now add "mousing" to the "set terminal" line. That results in the background being lost, so everything is white on white, and thus invisible. It looks like the code that creates the mousing bounding box unconditionally sets a white rectangle with a black stroke, thus overridding or hiding the background the user wants. Is this bugworthy, or is there a reason that it has to be this way? I would really like to be able to render white (and other colours) on black, as I prefer "inverted" colours - but I also want to be able to use mousing in my reports. At present, it doesn't look like I can have both. Hopefully that's solvable. Thanks, Daniel |