# To run with folder name (aka planner) at x axis, use:
#
#       gnuplot -e "lx=2" plot_statistics_time.pl
#
set title "Average elapsed time (0.1 m grid)"
set xlabel "Scenario [-]"
set ylabel "Time [s]"
set yrange [0:14]
set key left
if (!exists('lx')) lx=3
  plot 'stats_test11' u 6:xticlabels(lx) w histeps lc rgb '#0000ff' t 'Heuristics', \
       'stats_test12' u 6:xticlabels(lx) w histeps lc rgb '#00ff00' t 'Reeds \& Shepp', \
       'stats_test8' u 6:xticlabels(lx) w histeps lc rgb '#ff0000' t 'Euclidean'
set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
set output 'out.eps'
replot
