#
# gnuplot -e "lx=2" plot_statistics_cusps-in-path.pl
#
+set title "Cusps in path"
+set style data boxes
+set boxwidth 0.1
+set offset 0.5, 0.5, 0, 0
+set xtics rotate by -45
+set grid
if (!exists('lx')) lx=3
- plot 'stats' u 21:xticlabels(lx) w histeps lc rgb '#ff0000' t 'Avg cusps-in-path [-]'
-replot 'stats' u 22:xticlabels(lx) w histeps lc rgb '#ffaaaa' t 'Stddev cusps-in-path [-]'
-replot 'stats' u 23:xticlabels(lx) w histeps lc rgb '#0000ff' t 'Median cusps-in-path [-]'
-replot 'stats' u 24:xticlabels(lx) w histeps lc rgb '#aaaaff' t 'Max cusps-in-path [-]'
-replot 'stats' u 25:xticlabels(lx) w histeps lc rgb '#aaaaff' t 'Min cusps-in-path [-]'
+ plot 'stats' u 0:21:xticlabels(lx) lc rgb '#ff0000' t 'Avg [-]'
+replot 'stats' u ($0 - 0):22 lc rgb '#ffaaaa' t 'Stddev [-]'
+replot 'stats' u ($0 - 0.15):23 lc rgb '#0000ff' t 'Median [-]'
+replot 'stats' u ($0 - 0.3):24 lc rgb '#aaaaff' t 'Max [-]'
+replot 'stats' u ($0 - 0.3):25 lc rgb '#aaaaff' t 'Min [-]'
set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
set output 'out.eps'
replot