]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update plot and sync script
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Feb 2013 20:19:23 +0000 (20:19 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Feb 2013 20:19:23 +0000 (20:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@28339 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/plot.sh
tests/benchmarks/sync.sh

index 90ada2a3f9fe9a0b936ad343b886f9480764757d..39c36527de4c45595ff34a9387333b0eb08c6d7d 100644 (file)
@@ -14,12 +14,12 @@ EOF
 
 echo "plot \\"
 n=1
-for i in `cat names.$1`
+while read line;
 do
   n=`expr $n "+" 1`
-  echo "'datatable.$1' using 1:(int(\$$n*10.0+0.5)/10.0) title '$i' w lp,\\";
-#  echo "'datatable.$1' using 1:$n title '$i' w lp,\\";
-done
+  echo "'datatable.$1' using 1:(int(\$$n*10.0+0.5)/10.0) title '$line' w lp,\\";
+#  echo "'datatable.$1' using 1:$n title '$line' w lp,\\";
+done < names.$1
 
 # this forces 0.01 to be in the yrange and ends the plot list (trailing comma above)
 echo "0.01 title ''"
index c649d27b4dc35925079de703974f2931d6af6237..0c9777a51e12495ed1d082ae7075a46e63a09b37 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 cp *png ~/public_html/bench/
-chmod a+r ~/public_html/bench/*png
+cp index.html ~/public_html/bench/
+chmod a+r ~/public_html/bench/*png ~/public_html/bench/*html
 #rsync -a *png root@dealii.org:/home/archiver/public_html/
 #ssh root@dealii.org chmod a+r /home/archiver/public_html/*png

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.