#!/bin/csh # Script to create a gif animation from postscript files set MAP = IExcess ls Map*$MAP*.ps >! pslist.txt foreach file (`awk '{printf("%s ",$1);}' pslist.txt`) echo $file convert $file $file.gif end set DELAY = 100 # time delay between images, in hundredths of a second set LOOPCOUNT = forever # number of loops through animation # if the gifs have a number in the name, the gifs will be ordered by those numbers gifsicle -d$DELAY -l$LOOPCOUNT Map*$MAP*.gif >! animate_$MAP.gif