-
Notifications
You must be signed in to change notification settings - Fork 0
/
2_gnuplot_motion.txt
32 lines (28 loc) · 1.47 KB
/
2_gnuplot_motion.txt
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
cd '/nd_disk4/qinbolin/Bolin/Data/MT_EPI/20241031/QBL_MAXIAO_MT20241031/Func'
set terminal postscript enhanced color solid "Helvetica" 15
set out "motion_translation.ps"
set key left bottom
set title "Motion translation across TRs"
set ylabel "Displacement (mm)"
set xlabel "TR"
set size ratio 0.6
plot "rp_MT_ON.txt" u 0:1 with lines title "MT ON x" linecolor rgb "blue" ,\
"rp_MT_ON.txt" u 0:2 with lines title "MT ON y" linecolor rgb "green" ,\
"rp_MT_ON.txt" u 0:3 with lines title "MT ON z" linecolor rgb "red" ,\
"rp_MT_OFF.txt" u 0:1 with lines title "MT OFF x" linecolor rgb "dark-blue" ,\
"rp_MT_OFF.txt" u 0:2 with lines title "MT OFF y" linecolor rgb "dark-green" ,\
"rp_MT_OFF.txt" u 0:3 with lines title "MT OFF z" linecolor rgb "dark-red"
set terminal postscript enhanced color solid "Helvetica" 15
set out "motion_rotation.ps"
set key left bottom
set title "Motion rotation across TRs"
set ylabel "Rotation (rad)"
set xlabel "TR"
set size ratio 0.6
plot "rp_MT_ON.txt" u 0:4 with lines title "MT ON x-pitch" linecolor rgb "blue" ,\
"rp_MT_ON.txt" u 0:5 with lines title "MT ON z-roll" linecolor rgb "green" ,\
"rp_MT_ON.txt" u 0:6 with lines title "MT ON y-yaw" linecolor rgb "red" ,\
"rp_MT_OFF.txt" u 0:4 with lines title "MT OFF x-pitch" linecolor rgb "dark-blue" ,\
"rp_MT_OFF.txt" u 0:5 with lines title "MT OFF z-roll" linecolor rgb "dark-green" ,\
"rp_MT_OFF.txt" u 0:6 with lines title "MT OFF y-yaw" linecolor rgb "dark-red"
exit