set term postscript color enhanced "Times-Roman" set output "bfield_total_along_injection_axis.ps" set size 0.5,0.5 set key bottom Left set xrange [0:4.5] set xlabel "z [m]" set ylabel "Magnetic field [kG]" #set yrange [0:5] #set yrange [-16:16] plot "Bfield_along_injection_axis.dat" u ($3/100+4.5):($4/1000) w l lw 2 lt 1 lc 1 t 'B_x', "" u ($3/100+4.5):($5/1000) w l lw 2 lt 1 lc 2 t 'B_y', "" u ($3/100+4.5):($6/1000) w l lw 2 lt 1 lc 3 t 'B_z'