diff --git a/bin/feedGnuplot b/bin/feedGnuplot index 1ad5990..1ab0597 100755 --- a/bin/feedGnuplot +++ b/bin/feedGnuplot @@ -603,7 +603,7 @@ sub pushPoint { # the x-coordinate of the new point is in the past, so I wipe out all the data for this curve # and start anew - splice( @$curve, 1, @$curve-1 ); + splice( @$curve, 1 ); } }