# To run with folder name (aka planner) at x axis, use:
#
#       gnuplot -e "lx=2" plot_statistics_cost.pl
#
set title "Final path cost"
set xlabel "Scenario [-]"
set ylabel "Cost [m]"
set yrange [-10:200]
set xrange [0:8]
set key left
set grid
set style data boxplot
set xtics ("1_0" 1, "1_1" 2, "2_0" 3, "2_1" 4, "2_2" 5, "2_3" 6, "2_4" 7)
set xtics nomirror
plot 'data_cost' u (1):1 notitle lc rgb '#0000ff', \
        '' u (2):2 notitle lc rgb '#0000ff', \
        '' u (3):3 notitle lc rgb '#0000ff', \
        '' u (4):4 notitle lc rgb '#0000ff', \
        '' u (5):5 notitle lc rgb '#0000ff', \
        '' u (6):6 notitle lc rgb '#0000ff', \
        '' u (7):7 lc rgb '#0000ff' t '1'
set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
set output 'out.eps'
replot
