Use 'load "param.txt"' to load your parameters. The "param.txt' file is:
Title = 'Title'
xmin = -10
xmax = 10
xunit = 'kg'
Then call your plotscript 'foo.plt'.
call 'foo.plot' 'param.txt' 'data.txt'
with the plotscript something like:
load '$0'
set title Title
set xrange [xmin:xmax]
set xlabel xunit
plot '$1' using 1:2 with linespoints
The load loads your parameter file. Everthing in there should be normal
gnuplot commands or declarations of parameters or functions. The call runs
the script using 2 command line parameters which are substituted in the
script as $0 and $1.
Good luck,
Alex van der Spek
<
zet...@gmail.com> wrote in message news:87y5in8...@kerstf.org...