s416226-plots/plot.sh

9 lines
192 B
Bash

for file in wer srr
do
tail -n 50 "${file}.txt" > "${file}.txt"
gnuplot <<- EOF
set term png
set output "${file}.png"
plot "${file}.txt" with lines notitle
EOF
done