3
基本上,我想结合http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.4和http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.2。我试图让与嵌入式明文数据点的gnuplot脚本中使用三种不同的颜色都在同一个绘图命令绘制,就像这样:Gnuplot脚本结合“嵌入”格式与索引块
plot \
"-" index 0 title "waveform" with lines, \
"-" index 1 title "-trig" with lines, \
"-" index 2 title "+trig" with lines
1418 -0.04
1419 -0.04
1420 +5.28
1421 +5.20
1422 +5.16
1418 3.66
1422 3.66
1418 3.86
1422 3.86
end
然而,它只是显示一种颜色的3个盖帽和抛出第二个和第三个索引命令出错。