Subversion Repositories svnkaklik

Rev

Rev 781 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 781 Rev 969
Line 9... Line 9...
9
 
9
 
10
 
10
 
11
set xlabel "fi[°]"
11
set xlabel "fi[°]"
12
set ylabel "I[-]"
12
set ylabel "I[-]"
13
 
13
 
14
fit f(x) "./data/polarizace_vertikalne_stupne.txt" using 1:2 via I0, c
14
fit f(x) "./data/Malusuv_zakon/polarizace_vertikalne_stupne.txt" using 1:2 via I0, c
15
set output "polarizace.png"
15
set output "polarizace.png"
16
plot "./data/polarizace_vertikalne_stupne.txt" using 1:2 with points, f(x)
16
plot "./data/Malusuv_zakon/polarizace_vertikalne_stupne.txt" using 1:2 with points, f(x)
17
 
17
 
18
fit g(x) "./data/polarizace_horizontalne_stupne.txt" using 1:2 via I0, a
18
fit g(x) "./data/Malusuv_zakon/polarizace_horizontalne_stupne.txt" using 1:2 via I0, a
19
set output "polarizace_horizontalne.png"
19
set output "polarizace_horizontalne.png"
20
plot "./data/polarizace_horizontalne_stupne.txt" using 1:2 with points, g(x)
20
plot "./data/Malusuv_zakon/polarizace_horizontalne_stupne.txt" using 1:2 with points, g(x)
21
 
21
 
22
set output "podelny_rez.png"
22
set output "podelny_rez.png"
23
set xlabel "x[-]"
23
set xlabel "x[-]"
24
set ylabel "I[-]"
24
set ylabel "I[-]"
25
plot "podelny_rez.txt" using 1:2 with points
25
plot "podelny_rez.txt" using 1:2 with points
26
 
26
 
-
 
27
set output "pricny_rez.png"
-
 
28
set xlabel "x[-]"
-
 
29
set ylabel "I[-]"
-
 
30
plot "./data/rozlozeni_pole/pricny_rez.txt" using 1:2 with points
-
 
31
 
27
set samples 400
32
set samples 400
28
set angles radians
33
set angles radians
29
a=4
34
a=4
30
d=100
35
d=100
31
c=6
36
c=6
32
I0=3
37
I0=3
33
 
38
 
34
h(x)=I0 * sin(c*x+d) + a
39
h(x)=I0 * sin(c*x+d) + a
35
 
40
 
36
fit h(x) "./data/stojata_vlna_vzdalenost.txt" using 1:2 via a,d,c
41
fit h(x) "./data/stojata_vlna/stojata_vlna_vzdalenost.txt" using 1:2 via a,d,c
37
set output "stojata_vlna.png"
42
set output "stojata_vlna.png"
38
plot "./data/stojata_vlna_vzdalenost.txt" using 1:2 with points, h(x)
43
plot "./data/stojata_vlna/stojata_vlna_vzdalenost.txt" using 1:2 with points, h(x)
39
 
44
 
40
 
45
 
41
I0=2
46
I0=2
42
 
47
 
43
fit h(x) "./data/stojata_vlna_vzdalenost.txt" using 1:3 via a,d,c
48
fit h(x) "./data/stojata_vlna/stojata_vlna_vzdalenost.txt" using 1:3 via a,d,c
44
set output "stojata_vlna_deska.png"
49
set output "stojata_vlna_deska.png"
45
plot "./data/stojata_vlna_vzdalenost.txt" using 1:3 with points, h(x)
50
plot "./data/stojata_vlna/stojata_vlna_vzdalenost.txt" using 1:3 with points, h(x)
-
 
51
 
-
 
52
 
46
 
53
 
47
set output "hrana.png"
54
set output "hrana.png"
48
plot "./data/hrana.txt" using 1:(abs($2)) with points
55
plot "./data/difrakce/hrana.txt" using 1:(abs($2)) with points
49
 
56
 
50
set output "pasek.png"
57
set output "pasek.png"
51
plot "./data/pasek.txt" using 1:(abs($2)) with points
58
plot "./data/difrakce/pasek.txt" using 1:(abs($2)) with points
52
 
59
 
53
set key under
60
set key under
54
set xlabel "fi[°]"
61
set xlabel "fi[°]"
55
set ylabel "I[-]"
62
set ylabel "I[-]"
56
set output "sterbina.png"
63
set output "sterbina.png"