# Simple loop script in Gnu Plot

by Don Carnage
Tags: gnu plot, loop, script, simple
 P: n/a Ok, I have "n" data files containing coordinates on the form of (x,y) called: 1.dat 2.dat 3.dat . . . n.dat What I want is to program a simple script in gnu plot(Linux) which load them and convert them into *.gif files called: 1.gif 2.gif . . . n.gif I have already written a script that can convert ONE data file into ONE gif file, it looks like this: \$ nano plot set terminal gif set output 'koor.gif ' plot 'koor.dat' with lines It loads the file called koor.dat and convert it into koor.gif - simple :P SO; How do I make this script loop ? Peter