我想用AIX 7.2和Gnuplot 4.6创建一个Gnuplot脚本
我的脚本是:
set terminal png truecolor size 1950,650 background rgb "#eff1f0"
set output "/home/tbenedet/GNUPLOT/used.png"
set datafile separator ';'
set size ratio 0.2
set bmargin at screen 0.2
unset key
set datafile separator ";"
set ylabel " MB BLOCK " font ",10" offset -1,0
set xlabel font ",10"
set xtics rotate by 45 offset -0.8,-9,-1.8
plot "/var/xxx/xxx/xxx/xxx/xxx/xxx/xxx/foo.txt" using 3:xtic(1) title column(2) with linespoints linewidth 2 pointtype 7 pointsize 1.5,\
"/var/xxx/xxx/xxx/xxx/xxx/xxx/xxx/foo.txt" using 3:xtic(1) title column(2) with linespoints linewidth 2 pointtype 7 pointsize 1.5,\
"/var/xxx/xxx/xxx/xxx/xxx/xxx/xxx/foo.txt" using 3:xtic(1) title column(2) with linespoints linewidth 2 pointtype 7 pointsize 1.5
乍一看,我的脚本是正确的...但是当我尝试使用gnuplot myscript.txt
运行它时,出现了这个错误:
plot "/var/xxx/xxx/xxx/xxx/xxx/xxx/xxx/foo.txt" using 3:xtic(1) title column(2) with linespoints linewidth 2 pointtype 7 pointsize 1.5,\ using 3:xtic(1) title column(2) with linespoints linewidth 2 pointtype 7 pointsize 1.5,\
^
"myscript.txt",line 14: invalid character \
我不知道是我的错误吗?你能告诉我吗?
谢谢