From 5837b13c00700293f8077b60a7af0a10e22a5b00 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Fri, 19 Dec 2025 11:21:55 -0800 Subject: [PATCH] bug fix: --image doesn't touch xrange,yrange if those are given in --set This was already implemented, but due to a bug (perl precedence was surprising) didn't work right --- bin/feedgnuplot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 1b81382..70ba7c1 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -502,8 +502,7 @@ sub interpretCommandline # bottom-left, so given nothing else, I flip the y axis if( !defined $options{xmin} && !defined $options{xmax} && !defined $options{ymin} && !defined $options{ymax} && - ! any { /^ *xrange\b/ } @{$options{set}} && - ! any { /^ *yrange\b/ } @{$options{set}} ) + !any { /^ *[xy]range\b/ } @{$options{set}} ) { push @{$options{set}}, "xrange [:] noextend"; push @{$options{set}}, "yrange [:] reverse noextend";