I have a data file containing n coordinate positions at t time steps of c number of figures which I would like to create an animation of in a gif file using gnuplot.
The data file is setup giving the n coordinate positions of all c figures at each time step, as
x1,1 y1,1
x1,2 y1,2
.
.
.
x1,n y1,n
x2,1 y2,1
.
.
.
xc,n yc,n
At each time step, I want to plot all n positions of my c figures in my gif animation.
The following code isn't exactly working.
set terminal gif animate
set output "output.gif"
do for [i=1:time_final] {
do for [j=1:c] {
plot "file.dat" every 1::(i-1)*(j-1)*n::i*j*n-1 u 1:2 w filledcurves
}}
set output
I apologize for the newbie-ness of this question.