[feedgnuplot] 04/07: When plotting histograms, --xlen can coexist with --xmin/--xmax

Dima Kogan dima at secretsauce.net
Sat Feb 25 08:04:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to branch debian
in repository feedgnuplot.

commit 64b12e47381afebf05da6aa32e8308b1b2a53845
Author: Dima Kogan <dima at secretsauce.net>
Date:   Thu Feb 9 19:12:18 2017 -0800

    When plotting histograms, --xlen can coexist with --xmin/--xmax
---
 bin/feedgnuplot | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 8631195..9086eeb 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -387,7 +387,8 @@ sub interpretCommandline
   }
 
   if($options{stream} && defined $options{xlen} &&
-     ( defined $options{xmin} || defined $options{xmax}))
+     ( defined $options{xmin} || defined $options{xmax}) &&
+    !defined $options{histogram})
   {
     print STDERR "With --stream and --xlen the X bounds are set, so neither --xmin nor --xmax make sense\n";
     exit -1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list