-
Notifications
You must be signed in to change notification settings - Fork 0
/
eigen_plot.gnuplot
59 lines (34 loc) · 1.3 KB
/
eigen_plot.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
set terminal x11 size 1600,800
# First Figure
set multiplot layout 4,1
set title "Eigen Plot 1"
datafile = "output/eigen_data.txt"
set grid
# Specify the range of columns for the first figure
plot datafile using 2:3 with linespoints pointtype 1 pointsize 1 title "Trajectory"
# datafile using 8:9 with linespoints pointtype 1 pointsize 1 title "Ref Trajectory"
# Position the legend at the top-center for the first figure
set key top left
# Second Figure
set xlabel "X-Axis Label"
set ylabel "Y-Axis Label"
# Specify the range of columns for the second figure
plot datafile using 1:7 with linespoints pointtype 1 pointsize 1 title "DELTA"
# Position the legend at the top-center for the second figure
set key top left
# Third Figure
set xlabel "X-Axis Label"
set ylabel "Y-Axis Label"
# Specify the range of columns for the second figure
plot datafile using 1:5 with linespoints pointtype 1 pointsize 1 title "V1"
# datafile using 1:10 with linespoints pointtype 1 pointsize 1 title "Ref v"
# Position the legend at the top-center for the second figure
set key top left
# Fourth Figure
set xlabel "X-Axis Label"
set ylabel "Y-Axis Label"
# Specify the range of columns for the second figure
# Position the legend at the top-center for the second figure
set key top left
unset multiplot
pause -1