[SCM] Feedgnuplot. Pipe-oriented frontend to Gnuplot. branch, debian, updated. debian/1.23-2-15-g184102a

Dima Kogan dima at secretsauce.net
Fri Feb 8 10:32:56 UTC 2013


The following commit has been merged in the debian branch:
commit 751d902844bca9439128760ea47f4efd5a93c0df
Author: Dima Kogan <dima at secretsauce.net>
Date:   Fri Dec 14 10:27:59 2012 -0800

    resetting latestX when clearing out data due to --monotonic
    
    --monotonic wasn't working correctly, since the x-variable wasn't being reset
    when monotonicity was broken. fixed

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 4ddf1c7..a50fcce 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -488,9 +488,10 @@ sub mainThread
           {
             if( defined $latestX && $domain[0] < $latestX )
             {
-              # the x-coordinate of the new point is in the past, so I wipe out all the data for this curve
-              # and start anew
+              # the x-coordinate of the new point is in the past, so I wipe out
+              # all the data and start anew
               clearCurves();
+              $latestX = undef;
             }
             else
             { $latestX = $domain[0]; }

-- 
Feedgnuplot. Pipe-oriented frontend to Gnuplot.



More information about the debian-science-commits mailing list