From 938e360e841c09c835435a0347f56f9cf72adaa6 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Fri, 23 Feb 2018 14:59:40 -0800 Subject: [PATCH] --vnlog now works with --domain. For real this time --- bin/feedgnuplot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index b2cf783..e7febab 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -877,7 +877,7 @@ sub mainThread $domain[0] = join (' ', splice( @fields, 0, $options{timefmt_Ncols}) ); $domain0_numeric = makeDomainNumeric( $domain[0] ); - $i_column -= $options{timefmt_Ncols}; + $i_column += $options{timefmt_Ncols}; } elsif(!$options{'3d'}) { @@ -886,7 +886,7 @@ sub mainThread next if @fields < 1+1; $domain[0] = $domain0_numeric = shift @fields; - $i_column -= 1; + $i_column += 1; } else { @@ -895,7 +895,7 @@ sub mainThread next if @fields < 2+1; @domain = splice(@fields, 0, 2); - $i_column -= 2; + $i_column += 2; } if( $options{monotonic} )