set data style lines; set autoscale set grid set key set nologscale x set nologscale y set terminal gif small size 1200,600 set output "/tmp/tempgraph.gif" set xdata time set timefmt "%d %H:%M:%S" set format x "%d" set xrange ["01 00:00:00":"31 23:59:00"] set yrange [*:*] plot "/tmp/battgraph" every 2::0 using 1:4 smooth unique title 'Solar on/off' , "/tmp/battgraph" every 2::1 using 1:4 smooth unique title 'Batt Volt' plot "/tmp/tempgraph" every 4::0 using 1:6 smooth unique title 'TRX' , "/tmp/tempgraph" every 4::2 using 1:6 smooth unique title'PWR' , "/tmp/tempgraph" every 4::1 using 1:6 smooth unique title'IN' , "/tmp/tempgraph" every 4::3 using 1:6 smooth unique title'OUT'