From: heister Date: Tue, 12 Feb 2013 20:19:23 +0000 (+0000) Subject: update plot and sync script X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39d1811e799028106c88ea6f861172f80afbea2;p=dealii-svn.git update plot and sync script git-svn-id: https://svn.dealii.org/trunk@28339 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/benchmarks/plot.sh b/tests/benchmarks/plot.sh index 90ada2a3f9..39c36527de 100644 --- a/tests/benchmarks/plot.sh +++ b/tests/benchmarks/plot.sh @@ -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 ''" diff --git a/tests/benchmarks/sync.sh b/tests/benchmarks/sync.sh index c649d27b4d..0c9777a51e 100755 --- a/tests/benchmarks/sync.sh +++ b/tests/benchmarks/sync.sh @@ -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