aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-04-26 12:53:11 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-04-26 12:53:11 +0200
commita6dc359694421f32b9245497ef5e8f7de625b98b (patch)
tree170472e6911d0f147511266b53abcb22afee4c3e
parent843b625a3ff670cbe86b7acae817217edf3a2b9d (diff)
downloadfortran-assignment1-a6dc359694421f32b9245497ef5e8f7de625b98b.tar.gz
fortran-assignment1-a6dc359694421f32b9245497ef5e8f7de625b98b.zip
generate plots in script
-rwxr-xr-xmake_results.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/make_results.sh b/make_results.sh
index 66694c0..718f82e 100755
--- a/make_results.sh
+++ b/make_results.sh
@@ -4,4 +4,12 @@ for KIND in 4 8 16; do
for IMPL in naiv bett dot mat bett2 block; do
./build/mull $KIND $IMPL > res/${IMPL}_$KIND
done
+
+ sed 's/\[kind\]/'$KIND'/' < template.gnuplot > script.gnuplot
+
+ cd res/
+ gnuplot -c ../script.gnuplot
+ cd ../
done
+
+rm script.gnuplot