Go to most recent revision | Details | Last modification | View Log
f(x)=n + c/(x-l);
set key off;
set xlabel 'wavelength [nm]';
set ylabel 'n [-]';
set terminal png;
set output 'disperze.png';
fit f(x) 'data.txt' using 1:2 via n,c,l;
plot f(x) with lines, 'data.txt' using 1:2;