Subversion Repositories svnkaklik

Rev

Rev 867 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
867 kaklik 1
set terminal png
2
 
3
set key off
4
set grid
5
 
6
f(x)=a*x**2 + k*x + q
7
 
8
set xlabel "I [A]"
9
set ylabel "B [mT]"
10
 
891 kaklik 11
set output "mag_pole.png"
867 kaklik 12
fit f(x) "mag_pole.txt" using 1:2 via a,k,q
13
plot "mag_pole.txt" using 1:2 with points, f(x)
14
 
891 kaklik 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