FHEM Forum

FHEM => fhem-users => Thema gestartet von: Guest am 31 Dezember 2010, 15:59:33

Titel: gnuplot how??
Beitrag von: Guest am 31 Dezember 2010, 15:59:33
Originally posted by: <email address deleted>

Hi,

I'm trying to create some graphs likt the fhem does.

I just picket out a hms.gplot file and made change the file a bit, but
I get not no nice graphs
De config is the same as in fhem but what else must i do, to get the
graph of today just as nice as fhem?

here my conifg

#!/usr/bin/gnuplot
set terminal png transparent small size 950,400 crop
set output '/var/www/temp/testje.png'
set xdata time
set timefmt '%Y-%m-%d_%H:%M:%S'
set xlabel " "
set ytics nomirror
set y2tics
set grid xtics y2tics
set y2label 'Temperature in C'
set title 'Outside'
plot "< awk '/T:/ {print $1, $4}' /var/log/fhem/Buitentemp.log" using
1:2 axes x1y2 title 'Measured temperature' with lines lw 1

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Titel: Re: gnuplot how??
Beitrag von: rudolfkoenig am 31 Dezember 2010, 16:17:25
                                                   

> De config is the same as in fhem but what else must i do, to get the
> graph of today just as nice as fhem?

You probably mean plotmode=SVG. This mode (and gnuplot-scroll) needs the
#FileLog comments.

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.