1 | ps = 1; eps = 1; stat = 1; gap = 0; dw = 1; |
---|
2 | |
---|
3 | if (!ps) set terminal x11; |
---|
4 | if (ps && !eps) set terminal postscript enhanced color solid lw 2 "Times-Roman" 20; |
---|
5 | if (ps && eps) set terminal postscript enhanced color solid lw 2 "Times-Roman" 20; |
---|
6 | #if (ps && !eps) set terminal postscript enhanced color solid; |
---|
7 | #if (ps && eps) set terminal postscript eps enhanced color solid; |
---|
8 | |
---|
9 | set grid; |
---|
10 | |
---|
11 | if (ps) set output "MomAper_mult.ps" |
---|
12 | set title "Momentum Aperture"; |
---|
13 | set xlabel "s [m]"; |
---|
14 | set ylabel "{/Symbol d}"; |
---|
15 | #set yrange [-.035:.035]; |
---|
16 | if(gap) set yrange [-.05:.05]; |
---|
17 | if(dw) set yrange [-.07:.07]; |
---|
18 | |
---|
19 | if(gap) plot "linlat.out" using 3:(0.003*$4) notitle with fsteps lt 1 lw 1 \ |
---|
20 | lc rgb "black", \ |
---|
21 | "0.1mm/MomAper.out" using 2:3 title "0.1 mm" with lines lc rgb "red", \ |
---|
22 | "0.1mm/MomAper.out" using 2:4 notitle with lines lc rgb "red", \ |
---|
23 | "1mm/MomAper.out" using 2:3 title "1mm" with lines lc rgb "orange", \ |
---|
24 | "1mm/MomAper.out" using 2:4 notitle with lines lc rgb "orange", \ |
---|
25 | "2mm/MomAper.out" using 2:3 title "2mm" with lines lc rgb "yellow", \ |
---|
26 | "2mm/MomAper.out" using 2:4 notitle with lines lc rgb "yellow", \ |
---|
27 | "2.5mm/MomAper.out" using 2:3 title "2.5mm" with lines lc rgb "green", \ |
---|
28 | "2.5mm/MomAper.out" using 2:4 notitle with lines lc rgb "green", \ |
---|
29 | "5mm/MomAper.out" using 2:3 title "5mm" with lines lc rgb "blue", \ |
---|
30 | "5mm/MomAper.out" using 2:4 notitle with lines lc rgb "blue", \ |
---|
31 | "10mm/MomAper.out" using 2:3 title "10mm" with lines lc rgb "purple", \ |
---|
32 | "10mm/MomAper.out" using 2:4 notitle with lines lc rgb "purple"; |
---|
33 | |
---|
34 | |
---|
35 | if(dw) plot "linlat.out" using 3:(0.003*$4) notitle with fsteps lt 1 lw 1 \ |
---|
36 | lc rgb "black", \ |
---|
37 | "dw1/MomAper.out" using 2:3 title "1 dw" with lines lc rgb "red", \ |
---|
38 | "dw1/MomAper.out" using 2:4 notitle with lines lc rgb "red", \ |
---|
39 | "dw2/MomAper.out" using 2:3 title "2 dw" with lines lc rgb "blue", \ |
---|
40 | "dw2/MomAper.out" using 2:4 notitle with lines lc rgb "blue", \ |
---|
41 | "dw5/MomAper.out" using 2:3 title "5 dw" with lines lc rgb "green", \ |
---|
42 | "dw5/MomAper.out" using 2:4 notitle with lines lc rgb "green"; |
---|
43 | |
---|
44 | if (!ps) pause -1; |
---|