]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blob - scripts/plot_statistics_cost.pl
By default, show plotted scenario
[hubacji1/iamcar2.git] / scripts / plot_statistics_cost.pl
1 # To run with folder name (aka planner) at x axis, use:
2 #
3 #       gnuplot -e "lx=2" plot_statistics_cost.pl
4 #
5 set title "Final path cost"
6 set xlabel "Scenario [-]"
7 set ylabel "Cost [m]"
8 set yrange [-10:200]
9 set xrange [0:8]
10 set key left
11 set grid
12 set style data boxplot
13 set xtics ("1_0" 1, "1_1" 2, "2_0" 3, "2_1" 4, "2_2" 5, "2_3" 6, "2_4" 7)
14 set xtics nomirror
15 plot 'data_cost' u (1):1 notitle lc rgb '#0000ff', \
16         '' u (2):2 notitle lc rgb '#0000ff', \
17         '' u (3):3 notitle lc rgb '#0000ff', \
18         '' u (4):4 notitle lc rgb '#0000ff', \
19         '' u (5):5 notitle lc rgb '#0000ff', \
20         '' u (6):6 notitle lc rgb '#0000ff', \
21         '' u (7):7 lc rgb '#0000ff' t '1'
22 set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
23 set output 'out.eps'
24 replot