3 # The brief documentation about test process.
5 # 1. Run `test_all_...` script to run the tests.
6 # 2. Print the results with `print_...` to `stats` and `hist` files.
7 # 3. Plot the figures with `generate_plots` (this file).
12 echo "./generate_histograms.sh PLANNER"
18 w=(time iterations cost cusps-in-path connecteds-in-path nodes)
23 while [ $i -lt $WHATS ]
26 while [ $j -lt $FILES ]
30 c1=$(( 2 * $WHATS * $j + 2 * $i + 1 ))
31 c2=$(( 2 * $WHATS * $j + 2 * $i + 2))
32 t="$what $file $planner histogram"
33 gnuplot -e "c1=$c1;c2=$c2;tit='$t'" ../scripts/plot_histogram.pl
34 mv out.eps $pdir/h_${what}_${file}_${planner}.eps
37 gnuplot ../scripts/plot_statistics_${w[$i]}.pl
38 mv out.eps $pdir/s_${w[$i]}_${planner}.eps
39 gnuplot ../scripts/plot_statistics_error.pl
40 mv out.eps $pdir/s_error_${planner}.eps