98_SVG: fix gnuplot. Perhaps it would be better to delete it.
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7075 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -866,6 +866,7 @@ SVG_doShowLog($$$$;$$)
|
|||||||
|
|
||||||
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
||||||
|
|
||||||
|
$plot =~ s/ls \w+//g;
|
||||||
open(FH, "|gnuplot >> $errfile 2>&1");# feed it to gnuplot
|
open(FH, "|gnuplot >> $errfile 2>&1");# feed it to gnuplot
|
||||||
print FH $gplot_script, $xrange, $plot;
|
print FH $gplot_script, $xrange, $plot;
|
||||||
close(FH);
|
close(FH);
|
||||||
@@ -892,6 +893,7 @@ SVG_doShowLog($$$$;$$)
|
|||||||
|
|
||||||
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
||||||
|
|
||||||
|
$plot =~ s/ls \w+//g;
|
||||||
open(FH, "|gnuplot >> $errfile 2>&1");# feed it to gnuplot
|
open(FH, "|gnuplot >> $errfile 2>&1");# feed it to gnuplot
|
||||||
print FH $gplot_script, $xrange, $plot;
|
print FH $gplot_script, $xrange, $plot;
|
||||||
close(FH);
|
close(FH);
|
||||||
|
|||||||
Reference in New Issue
Block a user