set term pdf fontscale 0.75 size 5in,3.5in outfile = 'pitch_vs_acceptance.pdf' filename = '../efield_pitch_config_35us_start/ref/pitch_vs_offset.dat' set output outfile set timestamp offset graph 1.044,0.7 rotate font 'Verdana,6' set label 'plotting_scripts/pitch_vs_acceptance.gnu' at graph 1.02,0.02 rotate left font 'Verdana,6' noenhance set label filename at graph 0.05,-0.02 font ',6' noenhance set title ' vs acceptance' set xlabel 'acceptance [mm]' set ylabel ' [ppm]' set xrange [-45:45] set yrange [:0] plot filename u 1:($1 != 0 ? -$5:1/0) w l not print outfile