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