]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blob - scripts/rew.pl
Fix plot when obst in json is null
[hubacji1/iamcar2.git] / scripts / rew.pl
1 #!/usr/bin/gnuplot
2 #set title 'Euclidean distance to cost improvement'
3 #plot 'rew1' using (sqrt(($2-$5)*($2-$5) + ($3-$6)*($3-$6))):($9-$8)
4 #set title 'Heading difference to cost improvement'
5 #plot 'rew1' using (abs($4-$7)):($9-$8)
6
7 #set title 'Euclidean distance from root'
8 #plot 'rew1' using 10:($9-$8)
9 #set title 'RS distance from root'
10 #plot 'rew1' using 11:($9-$8)
11 #set title 'Euclidean distance from goal'
12 #plot 'rew1' using 12:($9-$8)
13 #set title 'RS distance from goal'
14 #plot 'rew1' using 13:($9-$8)
15 #set title 'Iteration'
16 #plot 'rew1' using 14:($9-$8)
17 #set title 'Cumulative cost'
18 #plot 'rew1-cont' using 8:($9-$8)
19 set title 'Logged path cost to iterations'
20 plot 'it-cost' using 1:2
21
22 pause -1
23
24 #set terminal postscript eps size 16,9 enhanced color
25 #set output 'out.eps'
26 #replot