Rev Author Line No. Line
2010 kaklik 1 set terminal png
2 set output "profile.png"
3  
4 set yrange [0:300]
5 set xrange [0:1200]
6  
7 set key under
8 set xlabel "Time [s]"
9 set ylabel "Temperature [°C]"
10  
11 f(x)= k*x + q
12 fit [0:380] f(x) "data.txt" using 1:4 via k,q
13  
14 a=k
15 b=q
16  
17 g(x)= a*x + b
18 fit [479:585] g(x) "data.txt" using 1:4 via a,b
19  
20  
21 plot "data.txt" using 1:4 with points title "measured points", f(x), g(x)