Animation gnuplotgif的问题

Animation gnuplotgif的问题,animation,gnuplot,gif,Animation,Gnuplot,Gif,我想画一幅偏微分方程解的gif图。在一些相关的帖子中,我发现我应该按如下方式拆分数据: -1.000000 0.000000 -0.600000 0.000000 -0.200000 0.654508 0.200000 0.654508 0.600000 0.000000 1.000000 0.000000 1.400000 0.000000 1.800000 0.000000 2.200000 0.000000 2.600000 0.000000 3.000000 0.000000 -1.

我想画一幅偏微分方程解的gif图。在一些相关的帖子中,我发现我应该按如下方式拆分数据:

-1.000000 0.000000
-0.600000 0.000000
-0.200000 0.654508
0.200000 0.654508
0.600000 0.000000
1.000000 0.000000
1.400000 0.000000
1.800000 0.000000
2.200000 0.000000
2.600000 0.000000
3.000000 0.000000


-1.000000 0.000000
-0.600000 0.000000
-0.200000 0.163627
0.200000 0.654508
0.600000 0.490881
1.000000 0.000000
1.400000 0.000000
1.800000 0.000000
2.200000 0.000000
2.600000 0.000000
3.000000 0.000000

...
然后我读到类似的东西应该有用:

set terminal gif animate delay 100
set output 'name.gif'
stats 'data.dat' nooutput
do for [i=1:int(STATS_blocks)]{plot 'data.dat' every i using 1:2 with lines notitle}

但我明白了。然而,如果我单独绘制每个数据块,它是完全不同的。我的Gnuplot代码有什么问题?

我想你想要的是
索引I
,而不是
每个I