Rev | Author | Line No. | Line |
---|---|---|---|
2388 | kaklik | 1 | set terminal png |
2381 | kaklik | 2 | set xlabel "time[s]" |
2388 | kaklik | 3 | set ylabel "Magnetic field [-]" |
2381 | kaklik | 4 | #set yrange [-1:1] |
5 | set autoscale y |
||
6 | |||
7 | |||
8 | #plot data transformed to G units. (3,3V/1024 * 0.8V/G) |
||
9 | k=3.3/1024.0*0.8 # sensitivity constant |
||
10 | zero_gravity=512.0 |
||
11 | |||
2388 | kaklik | 12 | set output "mereni.png" |
2381 | kaklik | 13 | plot "tabor.txt" using ($1) title "X", "" using ($2) title "Y", "" using ($3) title "Z" |
14 | pause 1 |
||
15 | reread |