plot.svg: out.txt Makefile echo '\ set term svg background rgb "white";\ set out "$@";\ set xlabel "x";\ set ylabel "y";\ set title "least-squares fit of F(x)=c_0/x+c_1+c_2*x to some data" ;\ plot "$<" index 0 with errorbars title "data"\ ,"$<" index 1 using 1:2 with lines title "F(x)"\ ,"$<" index 1 using 1:3 with lines title "F(x)+dF(x)"\ ,"$<" index 1 using 1:4 with lines title "F(x)-dF(x)"\ '|gnuplot out.txt: main.py lsfit.py ../matrix/matrix.py python3 $< 1> $@ 2> log clean:; rm -rf out.* __pycache__ plot* log*