/Designs/Laboratory_instruments/High_voltage_power_supply/DATA/plot.gp
0,0 → 1,8
set terminal png
set output "linearita.png"
 
f(x)=k*x + q
 
fit f(x) "mereni_rozsahu.txt" using 1:2 via k, q
 
plot "mereni_rozsahu.txt" using 1:2 with points, f(x)