source: TRACY3/trunk/tracy/gnuplot/linlat_old.plt @ 3

Last change on this file since 3 was 3, checked in by zhangj, 12 years ago

Initiale import

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1ps = 0; eps = 0; plt_nu = 1; plt_I5 = 1;
2
3if (!ps) set terminal x11;
4if (ps && !eps) \
5  set terminal postscript enhanced color solid lw 2 "Times-Roman" 20;
6if (ps && eps) \
7  set terminal postscript eps enhanced color solid lw 2 "Times-Roman" 20;
8
9set grid;
10
11if (ps) set output "linlat_1.ps"
12set title "Beta Functions";
13set xlabel "s [m]";
14set ylabel "[m]";
15set y2range [-1.5:20];
16plot "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;
19if (!ps) pause -1;
20
21if (ps) set output "linlat_2.ps"
22set title "Horizontal Dispersion";
23set xlabel "s [m]";
24set ylabel "{/Symbol h}_x [m]";
25set y2range [-1.5:20];
26plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \
27     "linlat.out" using 3:8 notitle with lines 2;
28if (!ps) pause -1;
29
30if (ps) set output "linlat_3.ps"
31set title "Vertical Dispersion";
32set xlabel "s [m]";
33set ylabel "{/Symbol h}_y [m]";
34set y2range [-1.5:20];
35plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt -1, \
36     "linlat.out" using 3:13 notitle with lines 2;
37if (!ps) pause -1;
38
39if (ps) set output "linlat_4.ps";
40if (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
50if (ps) set output "linlat_5.ps";
51if (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;
Note: See TracBrowser for help on using the repository browser.