streaming redraw test no longer checks for $xlast, since if $haveNewData is set, $xlast is

guaranteed to be set also.
This commit is contained in:
Dima Kogan 2010-03-28 16:04:51 -07:00
parent ce4927e24d
commit e68a65a889

View File

@ -351,8 +351,9 @@ sub mainThread {
}
}
elsif($options{"stream"} && defined $xlast)
elsif($options{"stream"})
{
# only redraw a streaming plot if there's new data to plot
next unless $haveNewData;
$haveNewData = undef;