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
23 set yrange [ -0.1 : 0.1 ]
25 #set arrow 1 from first,3 to last,3 nohead linestyle rgb "#ff0000"
31 #set linetype 1 lc 'green'
32 set linetype 99 lc 'red'
34 #plot "axes.txt" using 1:2 with lines title "X angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
36 plot "axes.txt" using 1:2:(abs($2) < 3 ? 1: 99) with lines lc variable title "X angle"
37 # http://gnuplot-surprising.blogspot.com/2011/09/gnuplot-background-image.html
38 #'/home/dpavlin/zc/www/logo-color.png' binary filetype=png origin=(0,0) dx=0.5 dy=0.5 with rgbimage notitle
43 #plot "axes.txt" using 1:3 with lines title "Y angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
45 plot "axes.txt" using 1:3:(abs($3) < 3 ? 2: 99) with lines lc variable title "Y angle"
46 #, "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle