set output 'F:\205-154-251-19\sqm-le/MLO/sqmleg.gif' set terminal gif transparent size 1024,350 font "regular,9" set xrange [-20:4] set ylabel 'mpsas' noenhanced textcolor rgb "#ff0000" set yrange [-25:-16] set border 11 set lmargin 10.5 set rmargin 1.8 set title "Mount Laguna Observatory - Current Sky Quality Meter Chart \n 2020-05-03 - 2020-05-04 \n Current reading: 20.18m @ 03:27:38 \n Best in 24hr: 21.54m @ 0" set xtics nomirror out scale 3,1 ( '4h' -20 0,' ' -19 1,' ' -18 1,' ' -17 1, '8h' -16 0,' ' -15 1,' ' -14 1,' ' -13 1, '12h' -12 0,' ' -11 1,' ' -10 1,' ' -9 1, '16h' -8 0,' ' -7 1,' ' -6 1,' ' -5 1, '20h' -4 0,' ' -3 1,' ' -2 1,' ' -1 1, '0h' 0 0,' ' 1 1,' ' 2 1,' ' 3 1, '4h' 4 0) set grid mxtics mytics xtics ytics set ytics nomirror out scale 3,1 ('14' -14 0,' ' -15 1, '16' -16 0,' ' -17 1,'18' -18 0,' ' -19 1,'20' -20 0,' ' -21 1,'22' -22 0,' ' -23 1,'24' -24 0,' ' -25 1,'22' -22 0) set y2tics nomirror out scale 3,1 ('0 (Clear)' 0 0,'1' 1 0,'2' 2 0,'3' 3 0) plot 'F:\205-154-251-19\sqm-le/tmpdata.txt' title '' with lines linecolor rgb "#ff0000"