Subversion Repositories svnkaklik

Rev

Rev 927 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
921 kaklik 1
set terminal png
2
 
3
set key off 
1014 kaklik 4
set xlabel "Laser diode current [mA]"
927 kaklik 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
 
1014 kaklik 19
fit [120:150] f(x) "./PI_data.txt" using 1:2 via k,q
20
fit [150:170] g(x) "./PI_data.txt" using 1:2 via b,c
21
 
22
set yrange [0:30]
23
set xrange [90:170]
24
set output "PI_chart_mW.png"
25
plot "./PI_data_mW.txt" using 1:2 with points, "" using 1:3 with points