From a39d1811e799028106c88ea6f861172f80afbea2 Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 12 Feb 2013 20:19:23 +0000 Subject: [PATCH] update plot and sync script git-svn-id: https://svn.dealii.org/trunk@28339 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/benchmarks/plot.sh | 8 ++++---- tests/benchmarks/sync.sh | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5