]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blobdiff - scripts/plot_statistics_cusps-in-path.pl
Change plot scripts for current tests
[hubacji1/iamcar2.git] / scripts / plot_statistics_cusps-in-path.pl
index 10057e93ac1b720e527e3e0b6f820a0696151ff5..82492a7a7710338dd008c9b2d8733b80ec732ca8 100644 (file)
@@ -2,12 +2,18 @@
 #
 #       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