config.plt 403 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# TIP from: http://negativeprobability.blogspot.com.br/2013/01/real-time-plot-updates-using-gnuplot.html

set xdata time 
set timefmt "%Y%m%d%H%M%S"

# get last updated file on data/
set macro
filepath = "../data/"."`cd ../data && ls -t -I outgoing* | head -n 1`"

# print filepath

# filter = 'sed -e "s/-\?\(nan\|inf\)/?/ig"'
set datafile missing "NaN"

plot filepath every ::1 using 1:col with lines