On 2008-04-09, Thomas Sefzick <t.s...@fz...> wrote:
>
>> How does one pass values (e.g. a filename to plot) into a
>> gnuplot script?
>>
>> Is there some way to refer to command-line arguments a-la
>> bash's $1 $2 notation?
>
> see 'help call'
I saw that, and it didn't seem to be relevent since I'm not
using the 'call' command. Tests using that mechanism also
failed to illuminate:
$ cat testit.gp
#!/usr/bin/gnuplot
print "$1", "$2"
print $1, $2
$ ./testit.gp one two
$1$2
print $1, $2
^
"./testit.gp", line 3: undefined value
--
Grant Edwards grante Yow! UH-OH!! We're out
at of AUTOMOBILE PARTS and
visi.com RUBBER GOODS!
|