Rev 3479 Rev 3487
Line 1... Line 1...
1 #set term svg size 800,640 #enhanced mouse 1 #set term svg size 800,640 #enhanced mouse
2 set terminal png size 800,640 2 set terminal png size 800,640
3 #set samples 1000 3 #set samples 1000
4   4  
5 set ylabel "press DPI145 [Pa]" 5 set ylabel "press DPI145 [Pa]"
6 set xlabel "press cidla [Pa]" 6 set xlabel "press senzory [Pa]"
7 set output "KorekceTlaku.png" 7 set output "KorekceTlaku.png"
-   8 set grid
-   9 set key under
8 f1(x)=k1*x+q1; f2(x)=k2*x+q2; f3(x)=k3*x+q3; f4(x)=k4*x+q4; f5(x)=k5*x+q5 10 f1(x)=k1*x+q1; f2(x)=k2*x+q2; f3(x)=k3*x+q3; f4(x)=k4*x+q4; f5(x)=k5*x+q5
9 fit f1(x) "mereni_tlaku_16122013.log" using ($10):($17*100000) via k1, q1 11 fit f1(x) "mereni_tlaku_16122013.log" using ($10):($17*100000) via k1, q1
10 fit f2(x) "mereni_tlaku_16122013.log" using ($11):($17*100000) via k2, q2 12 fit f2(x) "mereni_tlaku_16122013.log" using ($11):($17*100000) via k2, q2
11 fit f3(x) "mereni_tlaku_16122013.log" using ($12):($17*100000) via k3, q3 13 fit f3(x) "mereni_tlaku_16122013.log" using ($12):($17*100000) via k3, q3
12 fit f4(x) "mereni_tlaku_16122013.log" using ($14):($17*100000) via k4, q4 14 fit f4(x) "mereni_tlaku_16122013.log" using ($14):($17*100000) via k4, q4
13 fit f5(x) "mereni_tlaku_16122013.log" using ($15):($17*100000) via k5, q5 15 fit f5(x) "mereni_tlaku_16122013.log" using ($15):($17*100000) via k5, q5
14 plot "mereni_tlaku_16122013.log" using ($10):($17*100000) with linespoints title "P1", f1(x), "" using ($11):($17*100000) axes x1y1 with linespoints title "P2", f2(x), "" using ($12):($17*100000) axes x1y1 with linespoints title "P3", f3(x), "" using ($14):($17*100000) axes x1y1 with linespoints title "P4", f4(x), "" using ($15):($17*100000) axes x1y1 with linespoints title "P5", f5(x) 16 plot "mereni_tlaku_16122013.log" using ($10):($17*100000) with linespoints title "P1", f1(x), "" using ($11):($17*100000) axes x1y1 with linespoints title "P2", f2(x), "" using ($12):($17*100000) axes x1y1 with linespoints title "P3", f3(x), "" using ($14):($17*100000) axes x1y1 with linespoints title "P4", f4(x), "" using ($15):($17*100000) axes x1y1 with linespoints title "P5", f5(x)
15   17  
-   18 set output "KorekceTlakuZoom.png"
-   19 set key under
-   20 plot [5500:7500] "mereni_tlaku_16122013.log" using ($10):($17*100000) with linespoints title "P1", f1(x), "" using ($11):($17*100000) axes x1y1 with linespoints title "P2", f2(x), "" using ($12):($17*100000) axes x1y1 with linespoints title "P3", f3(x), "" using ($14):($17*100000) axes x1y1 with linespoints title "P4", f4(x), "" using ($15):($17*100000) axes x1y1 with linespoints title "P5", f5(x)
-   21  
-   22  
16   23  
17 set xlabel "time [s]" 24 set xlabel "time [s]"
18   25  
19 #set y2label "P [pres Pa]" 26 #set y2label "P [pres Pa]"
20 set key under 27 set key under
Line 26... Line 33...
26 #set y2tics 33 #set y2tics
27   34  
28 #set y2range [3000:95000] 35 #set y2range [3000:95000]
29 #set xrange [500:1500] 36 #set xrange [500:1500]
30 set output "Press.png" 37 set output "Press.png"
31   -  
-   38 set ylabel "press [Pa]"
-   39 set xlabel "time [s]"
32   40  
33   41  
34 #plot "mereni_tlaku_16122013.log" using 1:3 with linespoints title "T1", "" using 1:4 with linespoints title "T2", "" using 1:5 with linespoints title "T3", "" using 1:6 with linespoints title "T4", "" using 1:7 with linespoints title "T5", "" using 1:8 with linespoints title "T6", "" using 1:9 with linespoints title "TRef", "" using 1:10 axes x1y2 with linespoints title "P1", "" using 1:11 axes x1y2 with linespoints title "P2", "" using 1:12 axes x1y2 with linespoints title "P3", "" using 1:13 axes x1y2 with linespoints title "P4", "" using 1:14 axes x1y2 with linespoints title "P5", "" using 1:15 axes x1y2 with linespoints title "P6", "" using 1:16 axes x1y2 with linespoints title "PRef", "" using 1:($17*100000) axes x1y2 with linespoints title "PDPI145" 42 #plot "mereni_tlaku_16122013.log" using 1:3 with linespoints title "T1", "" using 1:4 with linespoints title "T2", "" using 1:5 with linespoints title "T3", "" using 1:6 with linespoints title "T4", "" using 1:7 with linespoints title "T5", "" using 1:8 with linespoints title "T6", "" using 1:9 with linespoints title "TRef", "" using 1:10 axes x1y2 with linespoints title "P1", "" using 1:11 axes x1y2 with linespoints title "P2", "" using 1:12 axes x1y2 with linespoints title "P3", "" using 1:13 axes x1y2 with linespoints title "P4", "" using 1:14 axes x1y2 with linespoints title "P5", "" using 1:15 axes x1y2 with linespoints title "P6", "" using 1:16 axes x1y2 with linespoints title "PRef", "" using 1:($17*100000) axes x1y2 with linespoints title "PDPI145"
35   43  
36 plot "mereni_tlaku_16122013.log" using 1:10 axes x1y1 with linespoints title "P1", "" using 1:11 axes x1y1 with linespoints title "P2", "" using 1:12 axes x1y1 with linespoints title "P3", "" using 1:14 axes x1y1 with linespoints title "P5", "" using 1:15 axes x1y1 with linespoints title "P6", "" using 1:($17*100000) axes x1y1 with linespoints title "PDPI145" 44 plot "mereni_tlaku_16122013.log" using 1:10 axes x1y1 with linespoints title "P1", "" using 1:11 axes x1y1 with linespoints title "P2", "" using 1:12 axes x1y1 with linespoints title "P3", "" using 1:14 axes x1y1 with linespoints title "P5", "" using 1:15 axes x1y1 with linespoints title "P6", "" using 1:($17*100000) axes x1y1 with linespoints title "PDPI145"
37   45  
38 set output "Pdif.png" 46 set output "Pdif.png"
39 plot "mereni_tlaku_16122013.log" using 1:($10-$17*100000) with linespoints title "P1", "" using 1:($11-$17*100000) with linespoints title "P2", "" using 1:($12-$17*100000) with linespoints title "P3", "" using 1:($14-$17*100000) with linespoints title "P5", "" using 1:($15-$17*100000) with linespoints title "P6" 47 plot "mereni_tlaku_16122013.log" using 1:($10-$17*100000) with linespoints title "P1", "" using 1:($11-$17*100000) with linespoints title "P2", "" using 1:($12-$17*100000) with linespoints title "P3", "" using 1:($14-$17*100000) with linespoints title "P5", "" using 1:($15-$17*100000) with linespoints title "P6"
40   48  
41   49  
-   50  
-   51