Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
670 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 "sobeslav_tabor.png" 
13
plot "olbramovice_sobeslav.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"
14
pause 1
15
reread