set term png enhanced transparent font "Helvetica" 15 set encoding utf8 set auto set border 15 lw 0.5 ################################################################### # Differential cross section ################################################################### datatitle = "title.txt" datalabel = "label.txt" set macro TI = '`head -1 '.datatitle.'`' LA = '`head -1 '.datalabel.'`' set out 'plotdxsec.png' set title @TI set xrange [-1:1] set ylabel 'dσ/dΩ (μb/sr)' set xlabel 'cos θ' p 'output.txt' u 6:7 w l ls 1 lw 2 lc rgb "#b20000" title @LA ################################################################### # PxDifferential cross section ################################################################### set out 'plotdpsec.png' set title @TI set xrange [-1:1] set ylabel 'P dσ/dΩ (μb/sr)' set xlabel 'cos θ' p 'output.txt' u 6:8 w l ls 1 lw 2 lc rgb "#b20000" title @LA ################################################################### # P asymmetry ################################################################### set out 'plotdpasym.png' set title @TI set yrange [-1:1] set xrange [-1:1] set ylabel 'P' set xlabel 'cos θ' p 'output.txt' u 6:9 w l ls 1 lw 2 lc rgb "#b20000" title @LA