mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
by default --image sets range noextend
This is usually what I want
This commit is contained in:
parent
e865871492
commit
aedbc28afe
@ -465,10 +465,13 @@ sub interpretCommandline
|
||||
{
|
||||
# images generally have the origin at the top-left instead of the
|
||||
# bottom-left, so given nothing else, I flip the y axis
|
||||
if( !defined $options{ymin} && !defined $options{ymax} &&
|
||||
if( !defined $options{xmin} && !defined $options{xmax} &&
|
||||
!defined $options{ymin} && !defined $options{ymax} &&
|
||||
! any { /^ *xrange\b/ } @{$options{set}} &&
|
||||
! any { /^ *yrange\b/ } @{$options{set}} )
|
||||
{
|
||||
push @{$options{set}}, "yrange [:] reverse";
|
||||
push @{$options{set}}, "xrange [:] noextend";
|
||||
push @{$options{set}}, "yrange [:] reverse noextend";
|
||||
}
|
||||
|
||||
if ( ! -r $options{image} )
|
||||
|
Loading…
Reference in New Issue
Block a user