I made png images using gnuplot:
do for [i=1:imax]{
imagefile='M'.sprintf("%5.5i",i).'.png'
datafile='A'.sprintf("%5.5i",j).'.dat'
plot datafile u 2:3:(rad*$6) with circles lc rgb "black" lw 3
pause 0
}
Then I used avconv to create movies:
avconv -r $1 -i M%05d.png -c:v libx264 final_simulation.mp4
However, my movies appear to have a twinkling effect in the circles and not smooth as a normal movie might look like. Is there any remedy for this?
gnuplot can generate animated gifs. Well, there is still a slight flickering. I'm not sure, maybe you can get rid of it with external converters when converting to the desired format.
For example, with this code:
you'll get this: