Did you even try looking at the Gnuplot documentation? The FAQ has
this about making output files. If you just run "set terminal", it'll show you a list of output formats that can be used (JPEG is on the list, for example). There's probably info in there (or the reference manual) about batch scripting, so you can do things automatically.
Edit: Here's a simple example of a using Gnuplot in a shell script. All it does is plot sin(x) to files named "tmp
n.jpg", where
n is an integer from 1 to 10, from the for loop:
Code:
#!/bin/bash
for i in $(seq 1 10)
do
gnuplot<<EOF
set terminal jpeg
set output "tmp$i.jpg"
plot sin(x)
EOF
done
If you've not done shell scripting before, see
this. The above example is called a
here document.
Edit: If you want to make movies from a set of images, look at mencoder. Google will give you tutorials for doing this.