]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blobdiff - scripts/plot_statistics_error.pl
Add script for plotting logged rewired data
[hubacji1/iamcar2.git] / scripts / plot_statistics_error.pl
index d2961fdfdf26410b994edb983a3a521482e0bd44..aee3d5858dce3f3d9ff4622bc6cf7a5ae5d6da2b 100644 (file)
@@ -1,4 +1,20 @@
-  plot 'stats' u 1:xticlabels(2) w histeps lc rgb '#ff0000' t 'Error [%]'
-set term pngcairo
-set output 'out.png'
+set title "Not finished scenarios"
+set xlabel "Scenario [-]"
+set ylabel "Failed runs [%]"
+set key left
+set offset 0.5, 0.5, 0, 0
+set grid
+set style data lines
+#set logscale y
+set yrange [-1:101]
+set xtics rotate by -45
+set key off
+set xrange [0:60]
+  plot 'stats_1' u (1*$0 - 0.15):1 lc rgb '#0000ff' t '3D kd RS-RS', \
+       'stats_2' u (1*$0):1:xticlabels(3) lc rgb '#00ff00' t '3D kd RS-heur', \
+       'stats_3' u (1*$0 + 0.15):1 lc rgb '#ff00ff' t '3D grid RS-RS', \
+       'stats_4' u (1*$0 + 0.3):1 lc rgb '#ff0000' t '3D grid RS-heur'
+
+set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
+set output 'out.eps'
 replot