我不知道这里是不是合适的地方,但学校的服务器在执行 Calchep 批处理模式时出现以下错误。这显然与 gnuplot 有关,但我不知道,因为我没有接触过程序代码。
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^
“gnuplot_instructions”,第 1 行:警告:已弃用的颜色选项
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000 ^
“gnuplot_instructions”,第 1 行:警告:已弃用的颜色选项`
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option
set term png transparent medium xffffff x000000
^
"gnuplot_instructions", line 1: warning: deprecated color option$
答案1
gnuplot 终端的多颜色选项png
已经消失,请参阅https://sourceforge.net/p/gnuplot/bugs/1155/;颜色规范格式也发生了改变。
您需要更改该脚本;如果我理解正确,您需要的更改来自
set term png transparent medium xffffff x000000 x000000 xadd8e6 xadd8e6 x000000
到
set terminal png transparent medium background "#ffffff"
set linetype 0 lc rgb "#000000"
set linetype 1 lc rgb "#000000"
set linetype 2 lc rgb "#add8e6"
set linetype 3 lc rgb "#add8e6"
set linetype 4 lc rgb "#000000"
...等等。