mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
Merge branch 'master' into debian
This commit is contained in:
commit
0c06f72d5d
11
Changes
11
Changes
@ -1,3 +1,14 @@
|
||||
feedgnuplot (1.50)
|
||||
|
||||
* Script waits for the plot window to close before exiting
|
||||
Instead of sleeping forever. This is really nice! I no longer need
|
||||
to quit the plot window AND then C-c. Quitting the plot window is
|
||||
now sufficient
|
||||
* by default --image sets range noextend
|
||||
* tab-completion knows about the fnormal distribution
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Fri, 24 Aug 2018 13:11:05 -0700
|
||||
|
||||
feedgnuplot (1.49)
|
||||
|
||||
* --vnl now works with plots that have rangesize > 1
|
||||
|
@ -16,7 +16,7 @@ use Pod::Usage;
|
||||
use Time::Piece;
|
||||
|
||||
# Makefile.PL assumes this is in ''
|
||||
my $VERSION = '1.49';
|
||||
my $VERSION = '1.50';
|
||||
|
||||
my %options;
|
||||
interpretCommandline();
|
||||
@ -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} )
|
||||
@ -987,7 +990,10 @@ sub mainThread
|
||||
# we persist gnuplot, so we shouldn't need this sleep. However, once
|
||||
# gnuplot exits, but the persistent window sticks around, you can no
|
||||
# longer interactively zoom the plot. So we still sleep
|
||||
sleep(100000000) unless $options{dump} || $options{exit};
|
||||
unless($options{dump} || $options{exit})
|
||||
{
|
||||
print PIPE "pause mouse close\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub pruneOldData
|
||||
@ -1410,7 +1416,7 @@ points palette>), variable sizes (C<with points ps variable>), labels and so on.
|
||||
The feedgnuplot tool itself does not know about all these intricacies, but they
|
||||
can still be used, by specifying the specific style with C<--style>, and
|
||||
specifying how many values are needed for each point with any of
|
||||
C<--rangesizeall, C<--tuplesizeall>, C<--rangesize>, C<--tuplesize>. These
|
||||
C<--rangesizeall>, C<--tuplesizeall>, C<--rangesize>, C<--tuplesize>. These
|
||||
options are required I<only> for styles not explicitly supported by feedgnuplot;
|
||||
supported styles do the right thing automatically.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user