]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
benchmark: add test for plotting
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 16:22:30 +0000 (16:22 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 16:22:30 +0000 (16:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@26855 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/plot.sh [new file with mode: 0644]
tests/benchmarks/testplotscript [new file with mode: 0644]

diff --git a/tests/benchmarks/plot.sh b/tests/benchmarks/plot.sh
new file mode 100644 (file)
index 0000000..f66ec8c
--- /dev/null
@@ -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 (file)
index 0000000..3b92fb5
--- /dev/null
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.