]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blob - scripts/plot_statistics_cusps-in-path.pl
Do not use unicode minus
[hubacji1/iamcar2.git] / scripts / plot_statistics_cusps-in-path.pl
1 # To run with folder name (aka planner) at x axis, use:
2 #
3 #       gnuplot -e "lx=2" plot_statistics_cusps-in-path.pl
4 #
5 set title "Cusps in path"
6 set style data boxes
7 set boxwidth 0.1
8 set offset 0.5, 0.5, 0, 0
9 set xtics rotate by -45
10 set grid
11 if (!exists('lx')) lx=3
12   plot 'stats' u 0:21:xticlabels(lx) lc rgb '#ff0000' t 'Avg [-]'
13 replot 'stats' u ($0 - 0):22 lc rgb '#ffaaaa' t 'Stddev [-]'
14 replot 'stats' u ($0 - 0.15):23 lc rgb '#0000ff' t 'Median [-]'
15 replot 'stats' u ($0 - 0.3):24 lc rgb '#aaaaff' t 'Max [-]'
16 replot 'stats' u ($0 - 0.3):25 lc rgb '#aaaaff' t 'Min [-]'
17 set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
18 set output 'out.eps'
19 replot