Subversion Repositories svnkaklik

Rev

Rev 927 | Blame | Compare with Previous | Last modification | View Log | Download

set terminal png

set key off 
set xlabel "Laser diode current [mA]"
set ylabel "Relative RMS output intensity [-]"

set yrange [0:250]

f(x)= k*x + q
g(x)= b*x + c 

fit [120:150] f(x) "./PI_data.txt" using 1:2 via k,q
fit [150:170] g(x) "./PI_data.txt" using 1:2 via b,c


set output "PI_chart.png"
plot "./PI_data.txt" using 1:2 with points, f(x), g(x)

fit [120:150] f(x) "./PI_data.txt" using 1:2 via k,q
fit [150:170] g(x) "./PI_data.txt" using 1:2 via b,c

set yrange [0:30]
set xrange [90:170]
set output "PI_chart_mW.png"
plot "./PI_data_mW.txt" using 1:2 with points, "" using 1:3 with points