« Return to Thread: gnuplot script aide

Re: gnuplot script aide

by Thomas Sefzick :: Rate this Message:

Reply to Author | View in Thread

try this script (works here without problems):

#!/bin/bash
filelist=`ls -1 *.txt`
for fname in $filelist ; do
echo $fname
gnuplot << EOF
set term png
set out "$fname.png"
set autoscale
unset label
set title "COMMUNICATIONS"
plot '$fname' using :5  w impulses
EOF
done

 « Return to Thread: gnuplot script aide