/Designs/Data_loggers/Magnetometry/MAG311001A/DATA/online_plot.gp
1,6 → 1,6
#set terminal png
set terminal png
set xlabel "time[s]"
set ylabel "acceleration [g]"
set ylabel "Magnetic field [-]"
#set yrange [-1:1]
set autoscale y
 
9,7 → 9,7
k=3.3/1024.0*0.8 # sensitivity constant
zero_gravity=512.0
 
set output "sobeslav_tabor.png"
set output "mereni.png"
plot "tabor.txt" using ($1) title "X", "" using ($2) title "Y", "" using ($3) title "Z"
pause 1
reread