Rev 921 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
set terminal png
set key off
set xlabel "Bias 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)