2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
fhem-mirror/fhem/www/gplot/SVG_04_Sun.gplot
rudolfkoenig 1d8037f8db fhem.cfg.demo: demo new Plot Types (logProxy+cubic)
git-svn-id: https://svn.fhem.de/fhem/trunk@7682 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-24 08:53:38 +00:00

23 lines
699 B
Plaintext

set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<TL>'
set ytics
set y2tics
set grid
set ylabel "Sonnenaufgang"
set y2label "Somnnenuntergang"
set yrange [4:10]
set y2range [16:23]
#logProxy Func:logProxy_Func2Plot($from,$to,'{logProxy_hms2dec(sunrise_abs_dat($sec))}')
#logProxy Func:logProxy_Func2Plot($from,$to,'{logProxy_hms2dec(sunset_abs_dat($sec))}')
#logProxy ConstX:TimeNow(),4,10
plot "<IN>" using 1:2 axes x1y1 title 'Sunrise' ls l2 lw 1 with steps,\
plot "<IN>" using 1:2 axes x1y2 title 'Sunset' ls l0 lw 1 with steps,\
plot "<IN>" using 1:2 axes x1y1 title notitle ls l5 lw 1 with steps,\