]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blobdiff - scripts/plot_statistics_time.pl
Add parameters from other papers
[hubacji1/iamcar2.git] / scripts / plot_statistics_time.pl
index d667b06813d2214d0382c2e268ee6a71390f2452..67097b99b3a5fcac2ef85cc577bc037f6a8ca0cf 100644 (file)
@@ -2,14 +2,73 @@
 #
 #       gnuplot -e "lx=2" plot_statistics_time.pl
 #
-set title "Average elapsed time (0.1 m grid)"
+set title "Elapsed time"
 set xlabel "Scenario [-]"
 set ylabel "Time [s]"
+set yrange [-1:14]
+set xrange [0:57]
 set key left
-if (!exists('lx')) lx=3
-  plot 'stats_test11' u 6:xticlabels(lx) w histeps lc rgb '#0000ff' t 'Heuristics', \
-       'stats_test12' u 6:xticlabels(lx) w histeps lc rgb '#00ff00' t 'Reeds \& Shepp', \
-       'stats_test8' u 6:xticlabels(lx) w histeps lc rgb '#ff0000' t 'Euclidean'
+set grid
+set style data boxplot
+set xtics ("1_0" 1, "1_1" 2, "2_0" 3, "2_1" 4, "2_2" 5, "2_3" 6, "2_4" 7, "3_0" 8, "3_1" 9, "3_2" 10, "3_3" 11, "3_4" 12, "4_0" 13, "4_10" 14, "4_11" 15, "4_12" 16, "4_13" 17, "4_14" 18, "4_15" 19, "4_16" 20, "4_17" 21, "4_18" 22, "4_1" 23, "4_2" 24, "4_3" 25, "4_4" 26, "4_5" 27, "4_6" 28, "4_7" 29, "4_8" 30, "4_9" 31, "5_0" 32, "5_1" 33, "5_2" 34, "5_3" 35, "5_4" 36, "6_0" 37, "6_1" 38, "6_2" 39, "6_3" 40, "6_4" 41, "6_5" 42, "6_6" 43, "6_7" 44, "6_8" 45, "6_9" 46, "7_0" 47, "7_1" 48, "7_2" 49, "7_3" 50, "7_4" 51, "7_5" 52, "7_6" 53, "7_7" 54, "7_8" 55, "7_9" 56)
+
+set xtics nomirror
+plot 'data_time' u (1):1 notitle lc rgb '#0000ff', \
+        '' u (2):2 notitle lc rgb '#0000ff', \
+        '' u (3):3 notitle lc rgb '#0000ff', \
+        '' u (4):4 notitle lc rgb '#0000ff', \
+        '' u (5):5 notitle lc rgb '#0000ff', \
+        '' u (6):6 notitle lc rgb '#0000ff', \
+        '' u (7):7 notitle lc rgb '#0000ff', \
+        '' u (8):8 notitle lc rgb '#0000ff', \
+        '' u (9):9 notitle lc rgb '#0000ff', \
+        '' u (10):10 notitle lc rgb '#0000ff', \
+        '' u (11):11 notitle lc rgb '#0000ff', \
+        '' u (12):12 notitle lc rgb '#0000ff', \
+        '' u (13):13 notitle lc rgb '#0000ff', \
+        '' u (14):14 notitle lc rgb '#0000ff', \
+        '' u (15):15 notitle lc rgb '#0000ff', \
+        '' u (16):16 notitle lc rgb '#0000ff', \
+        '' u (17):17 notitle lc rgb '#0000ff', \
+        '' u (18):18 notitle lc rgb '#0000ff', \
+        '' u (19):19 notitle lc rgb '#0000ff', \
+        '' u (20):20 notitle lc rgb '#0000ff', \
+        '' u (21):21 notitle lc rgb '#0000ff', \
+        '' u (22):22 notitle lc rgb '#0000ff', \
+        '' u (23):23 notitle lc rgb '#0000ff', \
+        '' u (24):24 notitle lc rgb '#0000ff', \
+        '' u (25):25 notitle lc rgb '#0000ff', \
+        '' u (26):26 notitle lc rgb '#0000ff', \
+        '' u (27):27 notitle lc rgb '#0000ff', \
+        '' u (28):28 notitle lc rgb '#0000ff', \
+        '' u (29):29 notitle lc rgb '#0000ff', \
+        '' u (30):30 notitle lc rgb '#0000ff', \
+        '' u (31):31 notitle lc rgb '#0000ff', \
+        '' u (32):32 notitle lc rgb '#0000ff', \
+        '' u (33):33 notitle lc rgb '#0000ff', \
+        '' u (34):34 notitle lc rgb '#0000ff', \
+        '' u (35):35 notitle lc rgb '#0000ff', \
+        '' u (36):36 notitle lc rgb '#0000ff', \
+        '' u (37):37 notitle lc rgb '#0000ff', \
+        '' u (38):38 notitle lc rgb '#0000ff', \
+        '' u (39):39 notitle lc rgb '#0000ff', \
+        '' u (40):40 notitle lc rgb '#0000ff', \
+        '' u (41):41 notitle lc rgb '#0000ff', \
+        '' u (42):42 notitle lc rgb '#0000ff', \
+        '' u (43):43 notitle lc rgb '#0000ff', \
+        '' u (44):44 notitle lc rgb '#0000ff', \
+        '' u (45):45 notitle lc rgb '#0000ff', \
+        '' u (46):46 notitle lc rgb '#0000ff', \
+        '' u (47):47 notitle lc rgb '#0000ff', \
+        '' u (48):48 notitle lc rgb '#0000ff', \
+        '' u (49):49 notitle lc rgb '#0000ff', \
+        '' u (50):50 notitle lc rgb '#0000ff', \
+        '' u (51):51 notitle lc rgb '#0000ff', \
+        '' u (52):52 notitle lc rgb '#0000ff', \
+        '' u (53):53 notitle lc rgb '#0000ff', \
+        '' u (54):54 notitle lc rgb '#0000ff', \
+        '' u (55):55 notitle lc rgb '#0000ff', \
+        '' u (56):56 lc rgb '#0000ff' t '1'
 set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
 set output 'out.eps'
 replot