#set term postscript enhanced color #set output 'inj_traj.ps' set ylabel 'Horizontal offset [cm]' set xlabel 's [m]' #set label '{/Symbol Dq}_x=24.9 mrad' at 3.0,-4 #set label '{/Symbol Dq}_y=8.03 mrad' at 3.0, -4.5 set xrange [0:5] set arrow from 0.0,-3.5 to 1.6, -3.5 heads set label "backleg iron" at 0.2,-4 set arrow from 1.6, -3.5 to 2.6, -3.5 heads set label "fringe field" at 1.62,-4 set arrow from 1.8,3. to 3.,3. heads set label "gradient" at 2.0, 3.2 set object rectangle from 2.6,0.9 to 4.3,-0.9 set label "inflector" at 3.18, -1.2 set key Left width -5 plot "injection_line_trajectory_18mm.dat" u 1:($2*100) w l lt 1 lw 2 not 'axis'