Rev 748 | Blame | Compare with Previous | Last modification | View Log | Download
f(x)=n + c/(x-l);
set key off;
set xlabel 'wavelength [nm]';
set ylabel 'n [-]';
set terminal png;
c=10
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;