diff options
author | Andy Green <andy.green@linaro.org> | 2015-10-15 04:59:36 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2015-10-15 04:59:36 +0800 |
commit | 64df4df2c925accf139a62c5074bcba991fc2930 (patch) | |
tree | 086eb2e6f7626848f262be665fb7bebab076001e | |
parent | eb7ff25001c6308fc28831a5d8d447fc62c55a54 (diff) |
fixedcols needs to be 2HEADmaster-test-2015-10-15-1master
Signed-off-by: Andy Green <andy.green@linaro.org>
-rwxr-xr-x | growth.sh | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -551,7 +551,10 @@ echo $R SMALLEST=`cat .smallest` - FIXEDCOLS=3 + FIXEDCOLS=2 +# if [ ! -z "$COMP_RUN" ] ; then +# FIXEDCOLS=3 +# fi # # add in the title row @@ -608,6 +611,8 @@ echo $R C=1 while [ $C -le $N ]; do + echo $C $N + BIGGEST=`cat .biggest` NEXT_BIGGEST=`cat .next-biggest` SMALLEST=`cat .smallest` @@ -637,20 +642,20 @@ echo $R if [ ! -z "$SNC" ] ; then PL="'.plot.tmp' using \ - 1:$(( $N + $FIXEDCOLS )):xtic(2) \ + 1:$(( $N + $FIXEDCOLS + 1 )):xtic(2) \ w boxes lc rgb \"#ff0000\",$PL" PLR="'.plot.tmp' using \ - 1:(-\$$(( $N + $FIXEDCOLS ))):xtic(2) \ + 1:(-\$$(( $N + $FIXEDCOLS + 1 ))):xtic(2) \ w boxes lc rgb \"#0000ff\",$PLR" TOTC="`cat .plot.tmp |tail -n+3 | \ - cut -d' ' -f$(( $N + $FIXEDCOLS )) |\ + cut -d' ' -f$(( $N + $FIXEDCOLS + 1 )) |\ paste -sd+ | bc`" Q="`cat .plot.tmp | head -n1 | \ - cut -d' ' -f$(( $N + $FIXEDCOLS ))`" \ + cut -d' ' -f$(( $N + $FIXEDCOLS + 1 ))`" \ B="`cat .plot.tmp | head -n2 | tail -n1 |\ - cut -d' ' -f$(( $N + $FIXEDCOLS ))`" + cut -d' ' -f$(( $N + $FIXEDCOLS + 1 ))`" echo $TOT $TOTC |