]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blob - scripts/plot_statistics_time.pl
Fix plot when obst in json is null
[hubacji1/iamcar2.git] / scripts / plot_statistics_time.pl
1 # To run with folder name (aka planner) at x axis, use:
2 #
3 #       gnuplot -e "lx=2" plot_statistics_time.pl
4 #
5 set title "Elapsed time"
6 set xlabel "Scenario [-]"
7 set ylabel "Time [s]"
8 set yrange [-1:14]
9 set xrange [0:57]
10 set key left
11 set grid
12 set style data boxplot
13 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)
14
15 set xtics nomirror
16 plot 'data_time' u (1):1 notitle lc rgb '#0000ff', \
17         '' u (2):2 notitle lc rgb '#0000ff', \
18         '' u (3):3 notitle lc rgb '#0000ff', \
19         '' u (4):4 notitle lc rgb '#0000ff', \
20         '' u (5):5 notitle lc rgb '#0000ff', \
21         '' u (6):6 notitle lc rgb '#0000ff', \
22         '' u (7):7 notitle lc rgb '#0000ff', \
23         '' u (8):8 notitle lc rgb '#0000ff', \
24         '' u (9):9 notitle lc rgb '#0000ff', \
25         '' u (10):10 notitle lc rgb '#0000ff', \
26         '' u (11):11 notitle lc rgb '#0000ff', \
27         '' u (12):12 notitle lc rgb '#0000ff', \
28         '' u (13):13 notitle lc rgb '#0000ff', \
29         '' u (14):14 notitle lc rgb '#0000ff', \
30         '' u (15):15 notitle lc rgb '#0000ff', \
31         '' u (16):16 notitle lc rgb '#0000ff', \
32         '' u (17):17 notitle lc rgb '#0000ff', \
33         '' u (18):18 notitle lc rgb '#0000ff', \
34         '' u (19):19 notitle lc rgb '#0000ff', \
35         '' u (20):20 notitle lc rgb '#0000ff', \
36         '' u (21):21 notitle lc rgb '#0000ff', \
37         '' u (22):22 notitle lc rgb '#0000ff', \
38         '' u (23):23 notitle lc rgb '#0000ff', \
39         '' u (24):24 notitle lc rgb '#0000ff', \
40         '' u (25):25 notitle lc rgb '#0000ff', \
41         '' u (26):26 notitle lc rgb '#0000ff', \
42         '' u (27):27 notitle lc rgb '#0000ff', \
43         '' u (28):28 notitle lc rgb '#0000ff', \
44         '' u (29):29 notitle lc rgb '#0000ff', \
45         '' u (30):30 notitle lc rgb '#0000ff', \
46         '' u (31):31 notitle lc rgb '#0000ff', \
47         '' u (32):32 notitle lc rgb '#0000ff', \
48         '' u (33):33 notitle lc rgb '#0000ff', \
49         '' u (34):34 notitle lc rgb '#0000ff', \
50         '' u (35):35 notitle lc rgb '#0000ff', \
51         '' u (36):36 notitle lc rgb '#0000ff', \
52         '' u (37):37 notitle lc rgb '#0000ff', \
53         '' u (38):38 notitle lc rgb '#0000ff', \
54         '' u (39):39 notitle lc rgb '#0000ff', \
55         '' u (40):40 notitle lc rgb '#0000ff', \
56         '' u (41):41 notitle lc rgb '#0000ff', \
57         '' u (42):42 notitle lc rgb '#0000ff', \
58         '' u (43):43 notitle lc rgb '#0000ff', \
59         '' u (44):44 notitle lc rgb '#0000ff', \
60         '' u (45):45 notitle lc rgb '#0000ff', \
61         '' u (46):46 notitle lc rgb '#0000ff', \
62         '' u (47):47 notitle lc rgb '#0000ff', \
63         '' u (48):48 notitle lc rgb '#0000ff', \
64         '' u (49):49 notitle lc rgb '#0000ff', \
65         '' u (50):50 notitle lc rgb '#0000ff', \
66         '' u (51):51 notitle lc rgb '#0000ff', \
67         '' u (52):52 notitle lc rgb '#0000ff', \
68         '' u (53):53 notitle lc rgb '#0000ff', \
69         '' u (54):54 notitle lc rgb '#0000ff', \
70         '' u (55):55 notitle lc rgb '#0000ff', \
71         '' u (56):56 lc rgb '#0000ff' t '1'
72 set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
73 set output 'out.eps'
74 replot