①gnuplotで連番画像ファイルを作成
renban.pgでgifの連番画像ファイルを作成。
②ImageMagickで連番ファイルを結合
$ convert filename_???.gif anime.gif
convertのオプションは
http://www.cfca.nao.ac.jp/~takedatk/COMPUTER/HowToMakeAnimation/gnuplot+perl+imagemagick/HowToMakeAnimation01.html
http://hooktail.org/computer/index.php?ImageMagick