#!/usr/bin/gnuplot
#set title 'Euclidean distance to cost improvement'
#plot 'rew1' using (sqrt(($2-$5)*($2-$5) + ($3-$6)*($3-$6))):($9-$8)
#set title 'Heading difference to cost improvement'
#plot 'rew1' using (abs($4-$7)):($9-$8)

#set title 'Euclidean distance from root'
#plot 'rew1' using 10:($9-$8)
#set title 'RS distance from root'
#plot 'rew1' using 11:($9-$8)
#set title 'Euclidean distance from goal'
#plot 'rew1' using 12:($9-$8)
#set title 'RS distance from goal'
#plot 'rew1' using 13:($9-$8)
#set title 'Iteration'
#plot 'rew1' using 14:($9-$8)
#set title 'Cumulative cost'
#plot 'rew1-cont' using 8:($9-$8)
set title 'Logged path cost to iterations'
plot 'it-cost' using 1:2

pause -1

#set terminal postscript eps size 16,9 enhanced color
#set output 'out.eps'
#replot
