1 set terminal pngcairo color size 800,600
6 set timefmt "%Y-%m-%d %H:%M:%S"
8 set datafile separator ","
12 #set key top left horizontal
15 set key outside tmargin center
25 set yrange [ -0.3 : 0.3 ]
27 #set arrow 1 from first,3 to last,3 nohead linestyle rgb "#ff0000"
31 set multiplot layout 4,1
33 set multiplot layout 3,1
36 set lmargin at screen 0.125
38 #set linetype 1 lc 'green'
39 set linetype 99 lc 'red'
41 #plot "axes.txt" using 1:2 with lines title "X angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
43 set ylabel "X degrees"
44 plot "axes.txt" using 1:2:(abs($2) < 0.3 ? 1: 99) with lines lc variable notitle
45 # http://gnuplot-surprising.blogspot.com/2011/09/gnuplot-background-image.html
46 #'/home/dpavlin/zc/www/logo-color.png' binary filetype=png origin=(0,0) dx=0.5 dy=0.5 with rgbimage notitle
49 #plot "axes.txt" using 1:3 with lines title "Y angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
53 set ylabel "Y degrees"
54 plot "axes.txt" using 1:3:(abs($3) < 0.3 ? 2: 99) with lines lc variable notitle
55 #, "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
61 set format x "%H:%M\n%d.%m."
67 plot "axes.txt" using 1:4 with lines lc 'blue' notitle
71 set format x "%H:%M\n%d.%m."
76 plot "axes.txt" using 1:5 with dots lc 'red' notitle