-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsensorplots.gnuplot
28 lines (22 loc) · 1.46 KB
/
sensorplots.gnuplot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/gnuplot
set terminal postscript eps size 2.5,1.5 enhanced color font 'Helvetica,10'
set output 'sensorfusion.eps'
set title 'Angular Probability'
set xlabel 'Obstacle Angle'
set ylabel 'Probability'
set key left
plot 'left.csv' with lines title "Left Sensor", 'leftmid.csv' with lines title "Left+Mid Sensors", 'mid.csv' with lines title "Mid Sensor", 'rightmid.csv' with lines title "Mid+Right Sensors", 'right.csv' with lines title "Right Sensor", 'inferred.csv' with linespoints title "Inferred Distribution" lc -1
#pause -1
set terminal postscript eps size 2.5,1.5 enhanced color font 'Helvetica,10'
set output 'leftmotormovement.eps'
set title 'Left Motor Movement Probability'
set xlabel 'Obstacle Angle'
set ylabel 'Probability'
set key top
plot 'left_motor_forward.csv' with lines title "Motor Forward", 'left_motor_reverse.csv' with lines title "Motor Reverse", 'left_inferred_forward.csv' with linespoints title "Inferred Probability Forward", 'left_inferred_reverse.csv' with linespoints title "Inferred Probability reverse"
set output 'rightmotormovement.eps'
set title 'Right Motor Movement Probability'
set xlabel 'Obstacle Angle'
set ylabel 'Probability'
set key mid
plot 'right_motor_forward.csv' with lines title "Motor Forward", 'right_motor_reverse.csv' with lines title "Motor Reverse", 'right_inferred_forward.csv' with linespoints title "Inferred Probability Forward", 'right_inferred_reverse.csv' with linespoints title "Inferred Probability reverse"