1 | ps = 0; eps = 1; |
---|
2 | |
---|
3 | if (!ps) set terminal x11; |
---|
4 | if (ps && !eps) \ |
---|
5 | set terminal postscript enhanced color solid lw 2 "Times-Roman" 20; |
---|
6 | if (ps && eps) \ |
---|
7 | set terminal postscript eps enhanced color solid lw 2 "Times-Roman" 20; |
---|
8 | |
---|
9 | set grid; |
---|
10 | |
---|
11 | set palette rgbformulae 22, 13, -31; |
---|
12 | unset colorbox; |
---|
13 | |
---|
14 | if (ps) set output "dynap_Dk.ps" |
---|
15 | |
---|
16 | if (1) \ |
---|
17 | set title "Dynamic Aperture vs. {/Symbol D}b_2/b_2"; \ |
---|
18 | set xlabel "x [mm]"; set ylabel "y [mm]"; \ |
---|
19 | plot "dynap.out" using 1:2 title "Bare Lattice" \ |
---|
20 | with linespoints lt palette frac 0.0, \ |
---|
21 | "1e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=1e-4" \ |
---|
22 | with linespoints lt palette frac 0.2, \ |
---|
23 | "2e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=2e-4" \ |
---|
24 | with linespoints lt palette frac 0.4, \ |
---|
25 | "5e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=5e-4" \ |
---|
26 | with linespoints lt palette frac 0.7, \ |
---|
27 | "1e-3/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=1e-3" \ |
---|
28 | with linespoints lt palette frac 0.8, \ |
---|
29 | "2e-3/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=2e-3" \ |
---|
30 | with linespoints lt palette frac 1.0; |
---|
31 | |
---|
32 | if (0) \ |
---|
33 | set title "Dynamic Aperture vs. {/Symbol D}b_n/b_{2,3}"; \ |
---|
34 | set xlabel "x [mm]"; set ylabel "y [mm]"; \ |
---|
35 | plot "dynap_bare.out" using 1:2 title "Bare Lattice" with linespoints 3, \ |
---|
36 | "dynap_mag.out" using 1:2 title "w. Multipole Errors" \ |
---|
37 | with linespoints 1; |
---|
38 | |
---|
39 | |
---|
40 | if (!ps) pause -1; |
---|