From: heister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Fri, 28 Sep 2012 16:22:30 +0000 (+0000)
Subject: benchmark: add test for plotting
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42adfbfb74c228f607b704dc27ea795ec9b0c2a8;p=dealii-svn.git

benchmark: add test for plotting

git-svn-id: https://svn.dealii.org/trunk@26855 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/tests/benchmarks/plot.sh b/tests/benchmarks/plot.sh
new file mode 100644
index 0000000000..f66ec8ce89
--- /dev/null
+++ b/tests/benchmarks/plot.sh
@@ -0,0 +1,17 @@
+
+
+
+echo "set terminal x11 persist"
+echo "set log y"
+echo "plot \\"
+n=1
+for i in `cat names.step-22`
+do
+  n=`expr $n "+" 1`
+  echo "'datatable.step-22' using 1:$n title '$i' w lp,\\";
+done
+
+echo "0"
+
+echo "pause -1"
+
diff --git a/tests/benchmarks/testplotscript b/tests/benchmarks/testplotscript
new file mode 100644
index 0000000000..3b92fb5bd5
--- /dev/null
+++ b/tests/benchmarks/testplotscript
@@ -0,0 +1,10 @@
+set terminal x11 persist
+set log y
+plot \
+'datatable.step-22' using 1:2 title 'assembly' w lp,\
+'datatable.step-22' using 1:3 title 'refine' w lp,\
+'datatable.step-22' using 1:4 title 'results' w lp,\
+'datatable.step-22' using 1:5 title 'setup' w lp,\
+'datatable.step-22' using 1:6 title 'solver' w lp,\
+0
+pause -1