Details |
Last modification |
View Log
Rev |
Author |
Line No. |
Line |
666 |
kaklik |
1 |
#set terminal png
|
|
|
2 |
set xlabel "time[s]"
|
|
|
3 |
set ylabel "acceleration [g]"
|
|
|
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 |
|
|
|
12 |
#set output "olbramovice_benesov.png"
|
|
|
13 |
plot "olbramovice_tabor.txt" using 1:(($2-zero_gravity)*k):($3*k) with errorbars title "X", "" using 1:(($4-zero_gravity)*k):($5*k) with errorbars title "Y", "" using 1:(($6-zero_gravity)*k):($7*k) with errorbars title "Z"
|