for fname in *.plt

do

name=${fname%%.*}
echo Plotting $name
gnuplot $name.plt
done
