Rev Author Line No. Line
3284 kaklik 1 set terminal png
2 set xlabel "time[s]"
3 set ylabel "Magnetic field [-]"
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 "mereni.png"
13 plot "tabor.txt" using ($1) title "X", "" using ($2) title "Y", "" using ($3) title "Z"
14 pause 1
15 reread