# 2017-09 by gra # Copyright Greg Altimas # ###################### Temperature Chart ############################ # script file for plotting trends in data in file "*.txt" # use command "gnuplot>load 'Script#' #set time format to handle PERL output set xdata time set timefmt "%Y-%m-%d %H:%M:%S" show timefmt set title "Historical Indoor Temperature 2017" set xrange ["2017-09-04 10:00":"2017-09-16 20:00"] # set format x "%H:%M" set yrange [20:30] set y2range [59:95] set ytic 15,2,35 set y2tic 59,3.6,95 set pointsize 1.5 set xlabel " " set ylabel "Temp Deg C" set y2label "Temp Deg F" set key left box # set terminal jpg color enhanced "Helvetica" 20 # set terminal postscript # set terminal postscript eps size 1024, 720 "Helvetica" 24 set terminal png set output "TempProj-CF2017-09-15b.png" plot 'tempLog2017-09-15.txt' using 1:3 title 'Temperature in Lab' with lines