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