o: ActiveSupport::Cache::Entry :@compressedF: @value"W"W
Modules/Sensors/ALTIMET01A/DOC/SRC/mereni/vyska.gp
3 3
set ylabel "alt [m]"
4 4
set xlabel "time [min]"
5 5
#set output "KorekceTlaku.png" 
6
#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
7
#fit f1(x) "mereni_tlaku_16122013.log" using ($10):($17*100000) via k1, q1
8
#fit f2(x) "mereni_tlaku_16122013.log" using ($11):($17*100000) via k2, q2
9
#fit f3(x) "mereni_tlaku_16122013.log" using ($12):($17*100000) via k3, q3
10
#fit f4(x) "mereni_tlaku_16122013.log" using ($14):($17*100000) via k4, q4
11
#fit f5(x) "mereni_tlaku_16122013.log" using ($15):($17*100000) via k5, q5
6
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; f6(x)=k6*x*q6
7
fit f1(x) "mereni_tlaku_s_DPI145_16122013.log" using ($10):(($17+$18)*50000) via k1, q1
8
fit f2(x) "mereni_tlaku_s_DPI145_16122013.log" using ($11):(($17+$18)*50000) via k2, q2
9
fit f3(x) "mereni_tlaku_s_DPI145_16122013.log" using ($12):(($17+$18)*50000) via k3, q3
10
fit f4(x) "mereni_tlaku_s_DPI145_16122013.log" using ($14):(($17+$18)*50000) via k4, q4
11
fit f5(x) "mereni_tlaku_s_DPI145_16122013.log" using ($15):(($17+$18)*50000) via k5, q5
12
#fit f6(x) "mereni_tlaku_s_DPI145_16122013.log" using ($15):(($17+$18)*50000) via k6, q6
12 13
T0=288.15; tau=-6.5e-3; R=29.271; p0=101325
13 14
h1(x)=(T0/tau)*((p0/f1(x))**(R*tau)-1)
14 15
h2(x)=(T0/tau)*((p0/f2(x))**(R*tau)-1)
15 16
h3(x)=(T0/tau)*((p0/f3(x))**(R*tau)-1)
16 17
h4(x)=(T0/tau)*((p0/f4(x))**(R*tau)-1)
17 18
h5(x)=(T0/tau)*((p0/f5(x))**(R*tau)-1)
19
#h6(x)=(T0/tau)*((p0/f6(x))**(R*tau)-1)
18 20

  
19
#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)
21
#plot "mereni_tlaku_16122013.log" using ($10):(($17+$18)*50000) with linespoints title "P1", f1(x), "" using ($11):(($17+$18)*50000) axes x1y1 with linespoints title "P2", f2(x), "" using ($12):($($17+$18)*50000) axes x1y1 with linespoints title "P3", f3(x), "" using ($14):(($17+$18)*50000) axes x1y1 with linespoints title "P4", f4(x), "" using ($15):(($17+$18)*50000) axes x1y1 with linespoints title "P5", f5(x)
20 22

  
21
a=1
22
b=1
23
c=1
24

  
25
f1(x)=a*x+b*x**2+c 
26
fit f1(x) "mereni_tlaku_16122013.log" using ($10/1000):(h1($10)) via a, b, c
27
#fit f2(x) "mereni_tlaku_16122013.log" using ($11):($17*100000) via k2, q2
28
#fit f3(x) "mereni_tlaku_16122013.log" using ($12):($17*100000) via k3, q3
29
#fit f4(x) "mereni_tlaku_16122013.log" using ($14):($17*100000) via k4, q4
30
#fit f5(x) "mereni_tlaku_16122013.log" using ($15):($17*100000) via k5, q5
31
#tlak-vyska
23
###tlak-vyska
32 24
set output "Tlak_vyska.png"
33 25
set ylabel "alt [m]"
34
set xlabel "press [kPa]"
35
plot "mereni_tlaku_16122013.log" using ($10/1000):(h1($10)) with linespoints title "s1", "" using ($11/1000):(h2($11)) with linespoints title "s2", "" using ($12/1000):(h3($12)) with linespoints title "s3", "" using ($14/1000):(h4($14)) with linespoints title "s4", "" using ($15/1000):(h5($15)) with linespoints title "s5", f1(x)
26
set xlabel "press [kPa]"  
27
#plot "mereni_tlaku_s_DPI145_16122013.log" using ($10/1000):(h1($10)) with linespoints title "s1", "" using ($11/1000):(h2($11)) with linespoints title "s2", "" using ($12/1000):(h3($12)) with linespoints title "s3", "" using ($13/1000):(h4($13)) with linespoints title "s4", "" using ($14/1000):(h5($14)) with linespoints title "s5", "" using ($15/1000):(h6($15)) with linespoints title "s6"
36 28

  
37 29

  
38 30

  
39 31

  
40
#cas-vyska
32
###stoupani: cas-vyska
41 33
set output "Stoupani.png" 
42 34
set xdata time
43 35
set timefmt "%s"
44 36
set format x "%H:%M:%S"
45 37
set key under
46
plot "mereni_tlaku_16122013.log" using 1:(h1($10)) with linespoints title "h1", "" using 1:(h2($11)) with linespoints title "h2", "" using 1:(h3($12)) with linespoints title "h3", "" using 1:(h4($14)) with linespoints title "h4", "" using 1:(h5($15)) with linespoints title "h5"
38
set xlabel "time"
39
plot "mereni_tlaku_16122013.log" using 1:(h1($10)) with linespoints title "s1", "" using 1:(h2($11)) with linespoints title "s2", "" using 1:(h3($12)) with linespoints title "s3", "" using 1:(h4($14)) with linespoints title "s4", "" using 1:(h5($15)) with linespoints title "s5"
47 40

  
48 41

  
Modules/Sensors/ALTIMET01A/DOC/SRC/mereni/plot.gp
3 3
#set samples 1000
4 4

  
5 5
set ylabel "press DPI145 [Pa]"
6
set xlabel "press cidla [Pa]"
6
set xlabel "press senzory [Pa]"
7 7
set output "KorekceTlaku.png" 
8
set grid
9
set key under
8 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 11
fit f1(x) "mereni_tlaku_16122013.log" using ($10):($17*100000) via k1, q1
10 12
fit f2(x) "mereni_tlaku_16122013.log" using ($11):($17*100000) via k2, q2
......
13 15
fit f5(x) "mereni_tlaku_16122013.log" using ($15):($17*100000) via k5, q5
14 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)
16 21

  
22

  
23

  
17 24
set xlabel "time [s]"
18 25

  
19 26
#set y2label "P [pres Pa]"
......
28 35
#set y2range [3000:95000]
29 36
#set xrange [500:1500]
30 37
set output "Press.png" 
38
set ylabel "press [Pa]"
39
set xlabel "time [s]"
31 40

  
32 41

  
33

  
34 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 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"
......
39 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

  
:@created_atf1443148923.584538i:@expires_in0