Update plots

This commit is contained in:
s416178 2020-04-03 15:06:43 +02:00
parent 88958dd9ef
commit 9249fff67e

View File

@ -1,11 +1,17 @@
#!/bin/bash
mv wer.txt wer1.txt
mv srr.txt srr1.txt
cat wer1.txt | tail -n 50 > wer.txt
cat srr1.txt | tail -n 50 > srr.txt
for FILE in "$@"
do
gnuplot <<- EOF
set term png
set title "Graph - ${FILE}"
set output "${FILE}.png"
plot "${FILE}.txt" using 1 with lines
plot "${FILE}.txt"
EOF
done