2015-10-21 04:18:23 +00:00
|
|
|
##############################################
|
|
|
|
# $Id$
|
2015-10-21 04:23:05 +00:00
|
|
|
# Display the current
|
2015-10-21 04:18:23 +00:00
|
|
|
# FileLog definition:
|
|
|
|
# define FileLog_device FileLog ./log/device-%Y.log device
|
|
|
|
#
|
|
|
|
# Logfile record example:
|
|
|
|
# 2015-10-17_08:38:08 device current1: 1.4
|
|
|
|
# 2015-10-17_08:38:08 device current2: 456
|
|
|
|
# 2015-10-17_08:38:08 device current3: 349
|
|
|
|
|
|
|
|
# Attribute 'small' is useful for gnuplot/-scroll only,
|
|
|
|
# if plotsize is less than 800,400
|
|
|
|
#set terminal png transparent small size <SIZE> crop
|
|
|
|
|
2022-03-07 08:45:37 +00:00
|
|
|
set readonly
|
2015-10-21 04:18:23 +00:00
|
|
|
set terminal png transparent truecolor rounded medium size <SIZE> enhanced
|
|
|
|
|
|
|
|
set output '<OUT>.png'
|
|
|
|
set xdata time
|
|
|
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
|
|
|
set title '<TL>'
|
|
|
|
set xlabel " "
|
|
|
|
set ylabel "I/A"
|
|
|
|
set y2label " "
|
|
|
|
set ytics
|
|
|
|
set grid xtics ytics
|
|
|
|
|
|
|
|
#FileLog 4:current1:0:
|
|
|
|
#FileLog 4:current2:0:
|
|
|
|
#FileLog 4:current3:0:
|
|
|
|
|
|
|
|
plot \
|
|
|
|
"<IN>" using 1:2 ls l0 axes x1y1 title 'Channel 1' with lines,\
|
2015-10-21 04:19:36 +00:00
|
|
|
"<IN>" using 1:2 ls l1 axes x1y2 title 'Channel 2' with lines,\
|
2015-10-21 04:18:23 +00:00
|
|
|
"<IN>" using 1:2 ls l2 axes x1y2 title 'Channel 3' with lines
|