1 | ps = 0; eps = 0; plt_nu = 1; plt_I5 = 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 | if (ps) set output "linlat_1.ps" |
---|
12 | set title "Beta Functions"; |
---|
13 | set xlabel "s [m]"; |
---|
14 | set ylabel "[m]"; |
---|
15 | set y2range [-1.5:20]; |
---|
16 | plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \ |
---|
17 | "linlat.out" using 3:6 title "{/Symbol b}_x" with lines 2, \ |
---|
18 | "linlat.out" using 3:11 title "{/Symbol b}_y" with lines 1; |
---|
19 | if (!ps) pause -1; |
---|
20 | |
---|
21 | if (ps) set output "linlat_2.ps" |
---|
22 | set title "Horizontal Dispersion"; |
---|
23 | set xlabel "s [m]"; |
---|
24 | set ylabel "{/Symbol h}_x [m]"; |
---|
25 | set y2range [-1.5:20]; |
---|
26 | plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \ |
---|
27 | "linlat.out" using 3:8 notitle with lines 2; |
---|
28 | if (!ps) pause -1; |
---|
29 | |
---|
30 | if (ps) set output "linlat_3.ps" |
---|
31 | set title "Vertical Dispersion"; |
---|
32 | set xlabel "s [m]"; |
---|
33 | set ylabel "{/Symbol h}_y [m]"; |
---|
34 | set y2range [-1.5:20]; |
---|
35 | plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \ |
---|
36 | "linlat.out" using 3:13 notitle with lines 2; |
---|
37 | if (!ps) pause -1; |
---|
38 | |
---|
39 | if (ps) set output "linlat_4.ps"; |
---|
40 | if (plt_nu) \ |
---|
41 | set title "Phase Advance"; \ |
---|
42 | set xlabel "s [m]"; \ |
---|
43 | set ylabel ""; \ |
---|
44 | set y2range [-1.5:20]; \ |
---|
45 | plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \ |
---|
46 | "linlat.out" using 3:7 title "{/Symbol n}_x" with lines 2, \ |
---|
47 | "linlat.out" using 3:12 title "{/Symbol n}_y" with lines 1; \ |
---|
48 | if (!ps) pause -1; |
---|
49 | |
---|
50 | if (ps) set output "linlat_5.ps"; |
---|
51 | if (plt_I5) \ |
---|
52 | set title "I5"; \ |
---|
53 | set xlabel "s [m]"; \ |
---|
54 | set ylabel ""; \ |
---|
55 | set y2range [-1.5:20]; \ |
---|
56 | plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \ |
---|
57 | "linlat.out" using 3:15 title "{/Symbol n}_x" with lines 2; \ |
---|
58 | if (!ps) pause -1; |
---|