diff --git a/www/gplot/EnO_A5-20-06.gplot b/www/gplot/EnO_A5-20-06.gplot new file mode 100644 index 000000000..a31ce317d --- /dev/null +++ b/www/gplot/EnO_A5-20-06.gplot @@ -0,0 +1,35 @@ +############################################## +# $Id$ + +# Display the measured temp and the setpoint (valve position). +# FileLog definition: +# define FileLog_device FileLog ./log/device-%Y.log device +# +# Logfile record example: +# 2015-10-17_08:38:08 device temperature: 17.4 +# 2015-10-17_08:38:08 device setpoint: 45 + +# Attribute 'small' is useful for gnuplot/-scroll only, +# if plotsize is less than 800,400 +#set terminal png transparent small size crop +set terminal png transparent size crop +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set ytics +set title '' +set grid xtics ytics +set ylabel "t/C" +set y2label "setpoint/%" +set y2range [0:100] + +#FileLog 4:temperature\x3a:0: +#FileLog 4:setpointTemp\x3a:0: +#FileLog 4:feedTemp\x3a:0: +#FileLog 4:setpoint\x3a:0: + +plot "" using 1:2 ls l3 axes x1y1 title 'Temperature' with lines,\ + "" using 1:2 ls l0 axes x1y1 title 'Setpoint Temperature' with steps,\ + "" using 1:2 ls l1 axes x1y1 title 'Feed Temperature' with lines,\ + "" using 1:2 ls l2fill axes x1y2 title 'Setpoint' with steps diff --git a/www/gplot/EnO_A5-20-06_2.gplot b/www/gplot/EnO_A5-20-06_2.gplot new file mode 100644 index 000000000..540de282f --- /dev/null +++ b/www/gplot/EnO_A5-20-06_2.gplot @@ -0,0 +1,34 @@ +############################################## +# $Id$ + +# Attribute 'small' is useful for gnuplot/-scroll only, +# if plotsize is less than 800,400 +#set terminal png transparent small size crop +set terminal png transparent size crop +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set ytics +set title '' +set grid xtics ytics +set ylabel "t/C" +set y2label "PID values" +set yrange [10:30] +set y2range [-30:150] + +#FileLog 4:temperature\x3a:0: +#FileLog 4:setpointTemp\x3a:0: +#FileLog 4:setpointSet\x3a:0: +#FileLog 4:setpointCalc\x3a:0: +#FileLog 4:p_p\x3a:0: +#FileLog 4:p_i\x3a:0: +#FileLog 4:p_d\x3a:0: + +plot "" using 1:2 ls l3 axes x1y1 title 'Temperature' with lines,\ + "" using 1:2 ls l0 axes x1y1 title 'Setpoint Temperature' with steps,\ + "" using 1:2 ls l2 axes x1y2 title 'Setpoint Set' with steps,\ + "" using 1:2 ls l4 axes x1y2 title 'Setpoint Calc' with steps,\ + "" using 1:2 ls l1 axes x1y2 title 'P-proportion' with lines,\ + "" using 1:2 ls l5 axes x1y2 title 'I-proportion' with lines,\ + "" using 1:2 ls l6 axes x1y2 title 'D-proportion' with lines