correct warning to 0.1 degrees
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 14 Oct 2020 15:35:40 +0000 (17:35 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 14 Oct 2020 15:35:40 +0000 (17:35 +0200)
gnuplot/template.gnuplot

index 2b56251..8235f47 100644 (file)
@@ -37,7 +37,7 @@ set linetype 99 lc 'red'
 #plot "axes.txt" using 1:2 with lines title "X angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
 
 set ylabel "X degrees"
-plot "axes.txt" using 1:2:(abs($2) < 3 ? 1: 99) with lines lc variable notitle
+plot "axes.txt" using 1:2:(abs($2) < 0.1 ? 1: 99) with lines lc variable notitle
 # http://gnuplot-surprising.blogspot.com/2011/09/gnuplot-background-image.html
 #'/home/dpavlin/zc/www/logo-color.png' binary filetype=png origin=(0,0)  dx=0.5 dy=0.5 with rgbimage notitle
 
@@ -47,7 +47,7 @@ plot "axes.txt" using 1:2:(abs($2) < 3 ? 1: 99) with lines lc variable notitle
 set tmargin 0
 
 set ylabel "Y degrees"
-plot "axes.txt" using 1:3:(abs($3) < 3 ? 2: 99) with lines lc variable notitle
+plot "axes.txt" using 1:3:(abs($3) < 0.1 ? 2: 99) with lines lc variable notitle
 #, "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle
 
 set tmargin 0