30 lines
501 B
Gnuplot
30 lines
501 B
Gnuplot
datafile = ARG1
|
|
outfile = ARG2
|
|
|
|
set terminal pngcairo size 1000,200 transparent enhanced
|
|
|
|
unset xlabel
|
|
unset ylabel
|
|
unset xtics
|
|
unset ytics
|
|
unset grid
|
|
|
|
set margins 0,0,0,0
|
|
set border 0
|
|
set size ratio 0.2
|
|
|
|
# Find minimum value
|
|
stats datafile using 2 nooutput
|
|
min_y = STATS_min
|
|
|
|
set xdata time
|
|
set timefmt "%Y%m%d%H%M"
|
|
|
|
set samples 500
|
|
|
|
set style fill transparent solid 0.5 border -1
|
|
|
|
set output outfile
|
|
|
|
plot datafile using 1:2 smooth bezier with filledcurves y1=min_y linecolor rgb "#248BCC" notitle
|