From 9249fff67e8d30095830ea69c98acc68e196d48b Mon Sep 17 00:00:00 2001 From: s416178 Date: Fri, 3 Apr 2020 15:06:43 +0200 Subject: [PATCH] Update plots --- draw_plots.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/draw_plots.sh b/draw_plots.sh index 7a3c493..f8accdc 100644 --- a/draw_plots.sh +++ b/draw_plots.sh @@ -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