I upgraded to 4.6 from 4.2 and my plots stopped working due to trying to set the background color.
> set terminal png x000000 # gives error "obsolete color option"
> set terminal png background x000000 # gives error "undefined variable: x000000"
The 4.6 PDF manual (page 209) says "set terminal png xffffff" is valid, but it isn't accepted
By trial and error I found that the following is accepted:
> set terminal png background "#000000"
I used to use the command:
> set terminal png x000000 xFFFFFF x4F4F4F
Is there some way to accomplish that with the new command format? The 4.6 manual says that specifying more than one color is deprecated, that should mean I can still do it. How can I do it?
Thanks.
The intent was to issue a deprecation warning but accept the command anyhow. Unfortunately, that turned into an error rather than a warning. I will restore the warning status of the message for 4.6.1, but the old syntax is definitely gone in 4.7
New syntax:
set term png background "#000000"
set linetype 0 lc rgb "#FFFFFF"
set linetype 1 lc rgb "#4F4F4F"