for file in wer srr
do
gnuplot <<- EOF
set term png
set output "file.png"
plot "file.txt" with points pointtype 5 notitle
EOF
done