Subversion Repositories svnkaklik

Rev

Rev 867 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 867 Rev 891
Line 6... Line 6...
6
f(x)=a*x**2 + k*x + q
6
f(x)=a*x**2 + k*x + q
7
 
7
 
8
set xlabel "I [A]"
8
set xlabel "I [A]"
9
set ylabel "B [mT]"
9
set ylabel "B [mT]"
10
 
10
 
11
fit f(x) "mag_pole.txt" using 1:2 via a,k,q
-
 
12
 
-
 
13
set output "mag_pole.png"
11
set output "mag_pole.png"
-
 
12
fit f(x) "mag_pole.txt" using 1:2 via a,k,q
14
plot "mag_pole.txt" using 1:2 with points, f(x)
13
plot "mag_pole.txt" using 1:2 with points, f(x)
15
 
14
 
-
 
15
set xlabel "B [mT]"
-
 
16
set ylabel "dE [eV]"
-
 
17
 
-
 
18
g(x)=d*x + c
-
 
19
d=5.7e-5
-
 
20
 
-
 
21
set output "magneton.png"
-
 
22
fit g(x) "magneton.txt" using 2:1 via c,d
-
 
23
plot "magneton.txt" using 2:1 with points, g(x)
-
 
24
 
-
 
25