From 575886524691b7f64f2e53948b8345b505bb35c0 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sat, 30 Sep 2017 19:16:54 -0700 Subject: [PATCH] custom settings are now set AFTER all our internal ones Thus the custom settings take precedence --- bin/feedgnuplot | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 3cb66cb..2d17876 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -720,11 +720,6 @@ sub mainThread print(PIPE "set xdata time\n"); } - # add the extra global options - print(PIPE "$_\n") foreach (@{$options{extracmds}}); - print(PIPE "set $_\n") foreach (@{$options{set}}); - print(PIPE "unset $_\n") foreach (@{$options{unset}}); - # set up histograms $options{binwidth} ||= 1; # if no binwidth given, set it to 1 print PIPE @@ -747,6 +742,11 @@ sub mainThread sendRangeCommand( "zrange", $options{zmin}, $options{zmax} ); sendRangeCommand( "cbrange", $options{zmin}, $options{zmax} ) if($options{colormap}); + # add the extra global options + print(PIPE "$_\n") foreach (@{$options{extracmds}}); + print(PIPE "set $_\n") foreach (@{$options{set}}); + print(PIPE "unset $_\n") foreach (@{$options{unset}}); +