diff --git a/plot.sh b/plot.sh index d33306c..a3df6d6 100644 --- a/plot.sh +++ b/plot.sh @@ -1,9 +1,11 @@ +tail -n 50 wer.txt > wer_temp.txt +tail -n 50 srr.txt > srr_temp.txt + for file in wer srr do - tail -n 50 "${file}.txt" > temp.txt gnuplot <<- EOF set term png set output "${file}.png" - plot temp.txt with lines notitle + plot "${file}_temp.txt" with lines notitle EOF done \ No newline at end of file