1 # Plot all results from arguments
3 # This script should be run from the `build` folder as:
5 # bash ../scripts/plot_all_scenarios.sh r_test1 r_test2 r_test3 ...
11 echo 'Plot all results from arguments'
15 echo -e '\tbash plot_all_scenarios.sh r_test1 r_test2 r_test3 ...'
22 python3 $SF/print_json_objects_scenaris_statistics.py $1 > stats_$i
23 python3 $SF/print_json_objects_scenaris_histograms.py $1 > hist_$i
24 python3 $SF/print_json_objects_scenaris_data.py $1
26 cp data_cost_$1 data_cost
27 cp data_time_$1 data_time
28 gnuplot $SF/plot_statistics_cost.pl
29 mv out.eps cost_$1.eps
30 gnuplot $SF/plot_statistics_time.pl
31 mv out.eps time_$1.eps
37 sed -i 's/sc\([0-9]\+_[0-9]\+\)\.json/\1/g' stats_*
38 sed -i 's/sc\([0-9]\+_[0-9]\+\)\.json/\1/g' hist_*
40 gnuplot $SF/plot_statistics_error.pl