1 #!/usr/bin/gnuplot -persist
5 # Version 4.2 patchlevel 0
6 # last modified March 2007
7 # System: Linux 2.6.22-2-686
9 # Copyright (C) 1986 - 1993, 1998, 2004, 2007
10 # Thomas Williams, Colin Kelley and many others
12 # Type `help` to access the on-line reference manual.
13 # The gnuplot FAQ is available from
14 # http://www.gnuplot.info/faq/
16 # Send comments and help requests to <gnuplot-info@lists.sourceforge.net>
17 # Send bug reports and suggestions to <gnuplot-bugs@lists.sourceforge.net>
19 # set terminal latex (document specific font)
20 # set output '2alc.tex'
25 set border 31 front linetype -1 linewidth 1.000
31 set timefmt x "%d/%m/%y,%H:%M"
32 set timefmt y "%d/%m/%y,%H:%M"
33 set timefmt z "%d/%m/%y,%H:%M"
34 set timefmt x2 "%d/%m/%y,%H:%M"
35 set timefmt y2 "%d/%m/%y,%H:%M"
36 set timefmt cb "%d/%m/%y,%H:%M"
38 set style fill empty border
39 set style rectangle back fc lt -3 fillstyle solid 1.00 border -1
50 set key inside right top vertical Right noreverse enhanced autotitles nobox
51 set key noinvert samplen 4 spacing 1 width 0 height 0
54 set style increment default
57 set style histogram clustered gap 2 title offset character 0, 0, 0
59 set offsets 0, 0, 0, 0
72 set datafile separator whitespace
76 set cntrparam levels auto 5
77 set cntrparam points 5
81 set style function lines
82 set xzeroaxis linetype -2 linewidth 1.000
83 set yzeroaxis linetype -2 linewidth 1.000
84 set zzeroaxis linetype -2 linewidth 1.000
85 set x2zeroaxis linetype -2 linewidth 1.000
86 set y2zeroaxis linetype -2 linewidth 1.000
96 set ztics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autofreq
99 set cbtics border in scale 1,0.5 mirror norotate offset character 0, 0, 0 autofreq
101 set title offset character 0, 0, 0 font "" norotate
104 set timestamp offset character 0, 0, 0 font "" norotate
105 set rrange [ * : * ] noreverse nowriteback # (currently [0.00000:10.0000] )
106 set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
107 set urange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
108 set vrange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
110 set xlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate
112 set x2label offset character 0, 0, 0 font "" textcolor lt -1 norotate
113 set xrange [ 0.00000 : 3.14159 ] noreverse nowriteback
114 set x2range [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
116 set ylabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90
118 set y2label offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90
119 set yrange [ 0.00000 : 30.0000 ] noreverse nowriteback
120 set y2range [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
122 set zlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate
123 set zrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
125 set cblabel offset character 0, 0, 0 font "" textcolor lt -1 norotate
126 set cbrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
133 set pm3d explicit at s
134 set pm3d scansautomatic
135 set pm3d interpolate 1,1 flush begin noftriangles nohidden3d corners2color mean
136 set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB
137 set palette rgbformulae 7, 5, 15
139 set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 bdefault
142 set fit noerrorvariables
143 f(x)=sqrt(C*(1/M+1/N)+C*sqrt((1/M+1/N)**2-2*(1-cos(x))/(M*N)))
144 g(x)=sqrt(C*(1/M+1/N)-C*sqrt((1/M+1/N)**2-2*(1-cos(x))/(M*N)))
149 plot f(x) t "optical branch", g(x) t "acoustic branch"