set terminal pngcairo color size 800,600 #set output 'axes.png' set output set xdata time set timefmt "%Y-%m-%d" set datafile separator "," #unset border #set key outside #set key top left horizontal set grid set key outside tmargin center #set ylabel "°" #set ylabel "deg." #set ylabel "degrees" #set format x "%H:%M" set format x "" #set format y "%.2f" #set yrange [ -0.1 : 0.1 ] #set arrow 1 from first,3 to last,3 nohead linestyle rgb "#ff0000" #set multiplot set multiplot layout 3,1 set lmargin at screen 0.125 #set linetype 1 lc 'green' 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 \ "/dev/shm/by_temp.pn.14.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.16.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.18.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.22.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.24.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.26.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.28.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.30.txt" using 1:2 with lines notitle, \ "/dev/shm/by_temp.pn.32.txt" using 1:2 with lines 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 #plot "axes.txt" using 1:3 with lines notitle title "Y angle", "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle set tmargin 0 set ylabel "Y degrees" plot \ "/dev/shm/by_temp.pn.14.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.16.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.18.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.22.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.24.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.26.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.28.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.30.txt" using 1:3 with lines notitle, \ "/dev/shm/by_temp.pn.32.txt" using 1:3 with lines notitle #, "" using 1:(3) with dots notitle, "" using 1:(-3) with dots notitle set tmargin 0 set xlabel "time" set format x "%d.%m." set ylabel "celsius" set yrange [ * : * ] plot \ "/dev/shm/by_temp.pn.14.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.16.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.18.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.20.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.22.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.24.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.26.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.28.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.30.txt" using 1:4 with lines notitle, \ "/dev/shm/by_temp.pn.32.txt" using 1:4 with lines notitle