Subversion Repositories svnkaklik

Rev

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

Rev Author Line No. Line
921 kaklik 1
set terminal png
2
 
3
set key off 
927 kaklik 4
set xlabel "Bias current [mA]"
5
set ylabel "Relative RMS output intensity [-]"
921 kaklik 6
 
927 kaklik 7
set yrange [0:250]
8
 
9
f(x)= k*x + q
10
g(x)= b*x + c 
11
 
12
fit [120:150] f(x) "./PI_data.txt" using 1:2 via k,q
13
fit [150:170] g(x) "./PI_data.txt" using 1:2 via b,c
14
 
15
 
921 kaklik 16
set output "PI_chart.png"
927 kaklik 17
plot "./PI_data.txt" using 1:2 with points, f(x), g(x)
921 kaklik 18