Compare commits

...

10 Commits

Author SHA1 Message Date
Dima Kogan
744239b7b7 version bump 2018-08-24 13:16:40 -07:00
Dima Kogan
0c06f72d5d Merge branch 'master' into debian 2018-08-24 13:15:05 -07:00
Dima Kogan
350b2db022 version bump 2018-08-24 13:13:45 -07:00
Dima Kogan
ba0f2eee08 completion knows about the fnormal distribution 2018-08-24 13:13:45 -07:00
Dima Kogan
778825bd34 completion knows about the fnormal distribution 2018-08-24 13:11:57 -07:00
Dima Kogan
9237811ed0 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
2018-08-23 22:31:14 -07:00
Dima Kogan
69285d7df1 fixed typo in docs 2018-07-09 18:38:56 -07:00
Dima Kogan
e514b24e39 changelog update 2018-06-17 22:18:41 -07:00
Dima Kogan
88eeff7890 updated URLs to point to salsa 2018-04-19 08:12:29 -07:00
Dima Kogan
aedbc28afe by default --image sets range noextend
This is usually what I want
2018-04-10 00:51:30 -07:00
5 changed files with 42 additions and 8 deletions

11
Changes
View File

@@ -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) feedgnuplot (1.49)
* --vnl now works with plots that have rangesize > 1 * --vnl now works with plots that have rangesize > 1

View File

@@ -16,7 +16,7 @@ use Pod::Usage;
use Time::Piece; use Time::Piece;
# Makefile.PL assumes this is in '' # Makefile.PL assumes this is in ''
my $VERSION = '1.49'; my $VERSION = '1.50';
my %options; my %options;
interpretCommandline(); interpretCommandline();
@@ -465,10 +465,13 @@ sub interpretCommandline
{ {
# images generally have the origin at the top-left instead of the # images generally have the origin at the top-left instead of the
# bottom-left, so given nothing else, I flip the y axis # 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}} ) ! 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} ) if ( ! -r $options{image} )
@@ -987,7 +990,10 @@ sub mainThread
# we persist gnuplot, so we shouldn't need this sleep. However, once # we persist gnuplot, so we shouldn't need this sleep. However, once
# gnuplot exits, but the persistent window sticks around, you can no # gnuplot exits, but the persistent window sticks around, you can no
# longer interactively zoom the plot. So we still sleep # 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 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 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 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 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; options are required I<only> for styles not explicitly supported by feedgnuplot;
supported styles do the right thing automatically. supported styles do the right thing automatically.

View File

@@ -48,7 +48,7 @@ _arguments -S
'*--style[Additional styles for a curve]:curve id: :style:' \ '*--style[Additional styles for a curve]:curve id: :style:' \
'(--3d)*--histogram:plot to treat as a histogram:' \ '(--3d)*--histogram:plot to treat as a histogram:' \
'--binwidth:Histogram bin width:' \ '--binwidth:Histogram bin width:' \
'--histstyle:Style of histogram:(frequency unique cumulative cnormal)' \ '--histstyle:Style of histogram:(frequency fnormal unique cumulative cnormal)' \
'--terminal:Terminal options to set with "set terminal":' \ '--terminal:Terminal options to set with "set terminal":' \
'*--legend[Legend for a curve]:curve id: :legend:' \ '*--legend[Legend for a curve]:curve id: :legend:' \
'--exit[Exit gnuplot after making the plot]' \ '--exit[Exit gnuplot after making the plot]' \

17
debian/changelog vendored
View File

@@ -1,3 +1,20 @@
feedgnuplot (1.50-1) unstable; urgency=medium
* 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:16:35 -0700
feedgnuplot (1.49-2) unstable; urgency=medium
* Updated Vcs-... tags to salsa
-- Dima Kogan <dkogan@debian.org> Sun, 17 Jun 2018 22:18:18 -0700
feedgnuplot (1.49-1) unstable; urgency=medium feedgnuplot (1.49-1) unstable; urgency=medium
* --vnl now works with plots that have rangesize > 1 * --vnl now works with plots that have rangesize > 1

4
debian/control vendored
View File

@@ -6,8 +6,8 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.
Uploaders: Dima Kogan <dima@secretsauce.net> Uploaders: Dima Kogan <dima@secretsauce.net>
Standards-Version: 3.9.4 Standards-Version: 3.9.4
Homepage: https://github.com/dkogan/feedgnuplot Homepage: https://github.com/dkogan/feedgnuplot
Vcs-Git: git://anonscm.debian.org/debian-science/packages/feedgnuplot.git Vcs-Browser: https://salsa.debian.org/science-team/feedgnuplot
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/feedgnuplot.git Vcs-Git: https://salsa.debian.org/science-team/feedgnuplot.git
Package: feedgnuplot Package: feedgnuplot
Architecture: all Architecture: all