Changeset c22952c for de.wigbels.ruby/hothotread/draw_graphs.sh
- Timestamp:
- Dec 5, 2015, 9:53:28 PM (8 years ago)
- Branches:
- master
- Children:
- 8cc14b9
- Parents:
- b342b88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
de.wigbels.ruby/hothotread/draw_graphs.sh
rb342b88 rc22952c 11 11 CDEF:gash=gas,120,* \ 12 12 VDEF:gastotal=gas,TOTAL \ 13 GPRINT:gastotal:"Total %6.0lf m3Gas" \13 GPRINT:gastotal:"Total %6.0lf Liter Gas" \ 14 14 LINE2:gash#c17d11:"Gasverbrauch" 15 15 … … 22 22 CDEF:gasd=gas,2880,* \ 23 23 VDEF:gastotal=gas,TOTAL \ 24 GPRINT:gastotal:"Total %6.0lf m3Gas" \24 GPRINT:gastotal:"Total %6.0lf Liter Gas" \ 25 25 LINE2:gasd#c17d11:"Gasverbrauch/Tag" 26 26 … … 33 33 CDEF:gasd=gas,2880,* \ 34 34 VDEF:gastotal=gas,TOTAL \ 35 GPRINT:gastotal:"Total %6.0lf m3Gas" \35 GPRINT:gastotal:"Total %6.0lf Liter Gas" \ 36 36 LINE2:gasd#c17d11:"Gasverbrauch/Tag" 37 37 38 rrdtool graph web/gas_1jahr.png \ 39 -w 800 -h 500 \ 40 -s 'now - 1 year' -e 'now' \ 41 --title "Gasverbrauch im Jahresverlauf" \ 42 --font TITLE:12 --vertical-label="Liter/Tag" \ 43 DEF:gas=gas.rrd:gas:AVERAGE \ 44 CDEF:gasd=gas,2880,* \ 45 VDEF:gastotal=gas,TOTAL \ 46 GPRINT:gastotal:"Total %6.0lf Liter Gas" \ 47 LINE2:gasd#c17d11:"Gasverbrauch/Tag" 48 49 50 51 rrdtool graph web/consum_1day.png -s 'now -1 day' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 52 rrdtool graph web/consum_1week.png -s 'now -1 week' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 53 rrdtool graph web/consum_1month.png -s 'now -1 month' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 54 rrdtool graph web/consum_1year.png -s 'now -1 year' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 55 56 rrdtool graph web/counter_1week.png -s 'now -1 week' -e 'now' -X 0 -Y -A DEF:counter=power.rrd:counter:LAST LINE2:counter#000000:"ZÀhlerstand [kWh]" 57 rrdtool graph web/counter_1month.png -s 'now -1 month' -e 'now' -X 0 -Y -A DEF:counter=power.rrd:counter:LAST LINE2:counter#000000:"ZÀhlerstand [kWh]"
Note: See TracChangeset
for help on using the changeset viewer.