--- /dev/null
+set terminal pngcairo color size 800,600
+#set output 'axes.png'
+set output
+
+set xdata time
+set timefmt "%Y-%m-%d %H:%M:%S"
+
+set datafile separator ","
+
+#unset border
+#set key outside
+#set key top left horizontal
+
+set grid
+set key left
+
+set format x "%H:%M"
+
+set multiplot
+set size 1,0.5
+set origin 0, 0.5
+
+plot "axes.txt" using 1:2 with lines title "X angle"
+
+
+set origin 0, 0
+plot "axes.txt" using 1:3 with lines title "Y angle"
--- /dev/null
+select to_char(time, 'YYYY-MM-DD HH24:MI:SS'), x_axis_angle, y_axis_angle from zc where time > now() - interval '6 hours' order by time asc
+