mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
Fixing Filter values
git-svn-id: https://svn.fhem.de/fhem/trunk@917 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
befb785573
commit
f87d51dfce
@ -347,7 +347,8 @@ SVG_render($$$$$$$)
|
||||
|
||||
my $yh = $y+$h;
|
||||
my $tl = $ltitle[$idx] ? $ltitle[$idx] : "";
|
||||
my $dec = int(log($hmul*3)/log(10));
|
||||
my $dec = int(log($hmul*3)/log(10)); # Some perl implementations do not have log()
|
||||
# my $dec = 1;
|
||||
$dec = 0 if($dec < 0);
|
||||
my $js_helpers = "id=\"line_$idx\" decimals=\"$dec\" ".
|
||||
"x_off=\"$fromsec\" x_min=\"$x\" x_mul=\"$tmul\" ".
|
||||
|
@ -25,8 +25,8 @@ set grid xtics y2tics
|
||||
set y2label "Temperature in C"
|
||||
set ylabel "Humidity (%)"
|
||||
|
||||
#FileLog 4:T:0:
|
||||
#FileLog 6:H:0:
|
||||
#FileLog 4:T\x3a:0:
|
||||
#FileLog 6:H\x3a:0:
|
||||
|
||||
plot \
|
||||
"< awk '/T:/ {print $1, $4}' <IN>"\
|
||||
|
@ -26,7 +26,7 @@ set grid xtics y2tics
|
||||
|
||||
set y2label "Temperature in C"
|
||||
|
||||
#FileLog 4:T:0:
|
||||
#FileLog 4:T\x3a:0:
|
||||
|
||||
plot \
|
||||
"< awk '/T:/ {print $1, $4}' <IN>"\
|
||||
|
@ -20,9 +20,9 @@ set yrange [0:]
|
||||
|
||||
# Computing Rain/h and Rain/d values by accumulating the changes.
|
||||
|
||||
#FileLog 4:IR:0:
|
||||
#FileLog 10:IR:0:delta-h
|
||||
#FileLog 10:IR:0:delta-d
|
||||
#FileLog 4:IR\x3a:0:
|
||||
#FileLog 10:IR\x3a:0:delta-h
|
||||
#FileLog 10:IR\x3a:0:delta-d
|
||||
|
||||
plot "<IN>" using 1:4 axes x1y2 title 'Temperature' with lines lw 2,\
|
||||
"<grep -v avg_ <IN> | perl -ane '\
|
||||
|
@ -16,8 +16,8 @@ set grid
|
||||
set ylabel "Wind (km/h)"
|
||||
set y2label "Humidity (%)"
|
||||
|
||||
#FileLog 8:IR:0:
|
||||
#FileLog 6:IR:0:
|
||||
#FileLog 8:IR\x3a:0:
|
||||
#FileLog 6:IR\x3a:0:
|
||||
|
||||
plot "<IN>" using 1:8 axes x1y1 title 'Wind' with lines,\
|
||||
"<IN>" using 1:6 axes x1y2 title 'Rel. Humidity (%)' with lines
|
||||
|
Loading…
x
Reference in New Issue
Block a user