Compare commits

...

9 Commits
v1.54 ... v1.56

Author SHA1 Message Date
Dima Kogan
fce0b9bb99 version bump 2021-02-03 14:49:06 -08:00
Dima Kogan
47957cfed6 changelog bump 2021-02-03 14:42:22 -08:00
Dima Kogan
bb9220ea97 updated default hardcopy settings 2021-02-03 14:41:28 -08:00
Dima Kogan
099ef33843 fixed typo in docs 2021-01-11 15:12:06 -08:00
Dima Kogan
b2c57797a7 ping example doesn't use -A
There's just no reason for that at all
2020-11-13 20:48:32 -08:00
Dima Kogan
c8dac15db3 version bump 2020-07-20 15:51:49 -07:00
Dima Kogan
4244299169 Revert "Removed reference to no-longer-existing variable"
This reverts commit 7e1e6af184.

This commit did nothing other than introduce a bug. --style is supposed to
override --with, but after this commit, --style was ADDED to --with, which is
wrong
2020-07-20 15:47:32 -07:00
Dima Kogan
4234c94737 minor documentation update 2020-05-19 08:59:56 -07:00
Dima Kogan
154377691c minor documentation update 2020-05-19 08:54:01 -07:00
2 changed files with 28 additions and 9 deletions

13
Changes
View File

@@ -1,3 +1,16 @@
feedgnuplot (1.56) unstable; urgency=medium
* Updated default hardcopy settings
-- Dima Kogan <dkogan@debian.org> Wed, 03 Feb 2021 14:42:15 -0800
feedgnuplot (1.55)
* Fixed regression introduced in 1.54:
--style now correctly overrides --with
-- Dima Kogan <dkogan@debian.org> Mon, 20 Jul 2020 15:51:23 -0700
feedgnuplot (1.54) feedgnuplot (1.54)
* Added --every and --everyall to decimate the input data * Added --every and --everyall to decimate the input data

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.54'; my $VERSION = '1.56';
my %options; my %options;
interpretCommandline(); interpretCommandline();
@@ -649,11 +649,11 @@ sub mainThread
} }
my %terminalOpts = my %terminalOpts =
( eps => 'postscript noenhanced solid color enhanced eps', ( eps => 'postscript noenhanced solid color eps',
ps => 'postscript noenhanced solid color landscape 12', ps => 'postscript noenhanced solid color landscape 12',
pdf => 'pdfcairo noenhanced solid color font ",12" size 11in,8.5in', pdf => 'pdfcairo noenhanced solid color font ",12" size 8in,6in',
png => 'png noenhanced size 1280,1024', png => 'pngcairo noenhanced size 1024,768 transparent crop font ",12"',
svg => 'svg noenhanced', svg => 'svg noenhanced solid dynamic size 800,600 font ",14"',
gp => 'gp'); gp => 'gp');
if( !defined $options{terminal} && if( !defined $options{terminal} &&
@@ -1188,7 +1188,10 @@ sub getCurve
if( !exists $curveFromID{$id} ) if( !exists $curveFromID{$id} )
{ {
my $curve = {extraoptions => ( exists $options{curvestyleall}) ? my $curve = {# if we have a catch-all style and no specific style, use
# the catch-all style
extraoptions => (!exists $options{curvestyle_hash}{$id} &&
exists $options{curvestyleall}) ?
"$options{curvestyleall} " : ' ', "$options{curvestyleall} " : ' ',
everyoptions => (!exists $options{every_hash}{$id} && everyoptions => (!exists $options{every_hash}{$id} &&
exists $options{everyall}) ? exists $options{everyall}) ?
@@ -2002,7 +2005,7 @@ instance, to plot 1% of the data, pass a factor of 100.
=item =item
C<--everyallID factor> C<--everyall factor>
Decimates the input. This works exactly like C<--every>, except it applies to Decimates the input. This works exactly like C<--every>, except it applies to
I<all> the curves. I<all> the curves.
@@ -2246,7 +2249,10 @@ also.
C<--geometry> C<--geometry>
If using X11, specifies the size, position of the plot window Specifies the size, position of the plot window. This applies I<only> to the
C<x11> gnuplot terminal, and has no effect otherwise. To control the window size
for any other terminal, ask for the terminal explicitly, with the options
specifying the size. For instance C<--terminal 'qt size 1024,768'>
=item =item
@@ -2303,7 +2309,7 @@ in a Thinkpad.
=head2 Plotting a live histogram of the ping round-trip times for the past 20 seconds =head2 Plotting a live histogram of the ping round-trip times for the past 20 seconds
$ ping -A -D 8.8.8.8 | $ ping -D 8.8.8.8 |
perl -anE 'BEGIN { $| = 1; } perl -anE 'BEGIN { $| = 1; }
$F[0] =~ s/[\[\]]//g or next; $F[0] =~ s/[\[\]]//g or next;
$F[7] =~ s/.*=//g or next; $F[7] =~ s/.*=//g or next;