mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
98_svg.pm: fix xrange for gnuplot-scroll (Forum #73444)
git-svn-id: https://svn.fhem.de/fhem/trunk@14560 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b47749730c
commit
100619b2a8
@ -1125,6 +1125,7 @@ SVG_doShowLog($$$$;$)
|
|||||||
my $i = 0;
|
my $i = 0;
|
||||||
$plot =~ s/\".*?using 1:[^ ]+ /"\"$tmpfile\" i " . $i++ . " using 1:2 "/gse;
|
$plot =~ s/\".*?using 1:[^ ]+ /"\"$tmpfile\" i " . $i++ . " using 1:2 "/gse;
|
||||||
|
|
||||||
|
$plot = "set xrange [\"$f\":\"$t\"]\n\n$plot" if($SVG_devs{$d}{from});
|
||||||
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
my $gplot_script = SVG_substcfg(0, $wl, $cfg, $plot, $file, $tmpfile);
|
||||||
$gplot_script =~ s/<TMPFILE>/$tmpfile/g;
|
$gplot_script =~ s/<TMPFILE>/$tmpfile/g;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user