set term postscript enhanced color set output 'track.ps' set ylabel 'Position [cm] or Bfield [kG]' 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 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 "fort.73" u 1:($4*100) w l lt 0 lw 2 not 'axis', "" u 1:($2*100) w l lw 2 lt 1 lc 2 t 'Horizontal trajectory [cm]', "" u 1:($9*10) w l lw 2 lt 1 lc 3 t "B_y[kG]"