s416226-plots/plot.sh

9 lines
192 B
Bash
Raw Normal View History

2020-04-03 17:43:27 +02:00
for file in wer srr
do
2020-04-03 18:10:18 +02:00
tail -n 50 "${file}.txt" > "${file}.txt"
2020-04-03 17:56:15 +02:00
gnuplot <<- EOF
2020-04-03 17:24:07 +02:00
set term png
2020-04-03 18:05:45 +02:00
set output "${file}.png"
2020-04-03 18:08:50 +02:00
plot "${file}.txt" with lines notitle
2020-04-03 17:57:23 +02:00
EOF
2020-04-03 17:43:27 +02:00
done