mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-18 19:18:06 +08:00
Compare commits
130 Commits
v1.54
...
debian/1.5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
744239b7b7 | ||
![]() |
0c06f72d5d | ||
![]() |
778825bd34 | ||
![]() |
e514b24e39 | ||
![]() |
88eeff7890 | ||
![]() |
e167e057d3 | ||
![]() |
38e92c5ba9 | ||
![]() |
811d0d45ab | ||
![]() |
83d4e66ea5 | ||
![]() |
c2c327953d | ||
![]() |
965570cf70 | ||
![]() |
ebc818791c | ||
![]() |
f6c1e943ab | ||
![]() |
b8b448e256 | ||
![]() |
a32370c514 | ||
![]() |
5298072894 | ||
![]() |
f21797a89e | ||
![]() |
7c704dc251 | ||
![]() |
6f4816efd5 | ||
![]() |
008dc01d17 | ||
![]() |
fc1a8af4bf | ||
![]() |
4da7705077 | ||
![]() |
b76c18a92d | ||
![]() |
8ad58134e1 | ||
![]() |
e6cb0830e8 | ||
![]() |
1e51157c0b | ||
![]() |
9a476c6429 | ||
![]() |
e064c29daa | ||
![]() |
3d85dba82a | ||
![]() |
f6a20cf8d8 | ||
![]() |
9497e9d751 | ||
![]() |
f9174031cc | ||
![]() |
ab26e54e20 | ||
![]() |
9d98b84546 | ||
![]() |
5609773b5b | ||
![]() |
ac06d5410a | ||
![]() |
199796d874 | ||
![]() |
a9d1b533fb | ||
![]() |
0f0e51a159 | ||
![]() |
73ed9b545a | ||
![]() |
10987c5187 | ||
![]() |
9ae728805d | ||
![]() |
f790ac4683 | ||
![]() |
af94ddf457 | ||
![]() |
abc37bfa1e | ||
![]() |
19c56ae041 | ||
![]() |
417ceb2bcc | ||
![]() |
a374e71fae | ||
![]() |
0551483616 | ||
![]() |
48fb730f0b | ||
![]() |
2fbc8f62d3 | ||
![]() |
670a5b84f9 | ||
![]() |
b92093464b | ||
![]() |
516077cbd0 | ||
![]() |
f8e69778a2 | ||
![]() |
7dca5c31bf | ||
![]() |
a6fef8c9f4 | ||
![]() |
987b7d90be | ||
![]() |
d7e30ac655 | ||
![]() |
ece4b29a2a | ||
![]() |
bbd2a44bf9 | ||
![]() |
d2613db253 | ||
![]() |
2217a1a1ba | ||
![]() |
184102a420 | ||
![]() |
1cca6c8eb4 | ||
![]() |
78368597c8 | ||
![]() |
4de5984551 | ||
![]() |
512d515ff6 | ||
![]() |
1d1b5e6808 | ||
![]() |
40b18cf8f9 | ||
![]() |
5283810abe | ||
![]() |
9ab429e618 | ||
![]() |
14a39b6fd2 | ||
![]() |
d705699459 | ||
![]() |
8867cf54f0 | ||
![]() |
52b9024320 | ||
![]() |
6809545a16 | ||
![]() |
a66e45adb5 | ||
![]() |
8557cd4870 | ||
![]() |
88fbd90a28 | ||
![]() |
d9906d8e88 | ||
![]() |
186b7a3ae0 | ||
![]() |
62eb5f17bb | ||
![]() |
a164c4ff29 | ||
![]() |
30d5b10fd6 | ||
![]() |
f2d4b7d78b | ||
![]() |
00d2f0d6a6 | ||
![]() |
0ccffde918 | ||
![]() |
805060ba92 | ||
![]() |
6ba7fc053c | ||
![]() |
21c38efc2d | ||
![]() |
7833e63c32 | ||
![]() |
d9e5067f20 | ||
![]() |
44a81e153d | ||
![]() |
458367883a | ||
![]() |
d4997cbba7 | ||
![]() |
5dcffaa62d | ||
![]() |
5cf323a97c | ||
![]() |
229c08582d | ||
![]() |
04876fa72e | ||
![]() |
e61e831ef2 | ||
![]() |
e5973e4fd6 | ||
![]() |
df2c78a85e | ||
![]() |
472520fdd8 | ||
![]() |
54f7f17558 | ||
![]() |
a8dc63c472 | ||
![]() |
10a4d35e97 | ||
![]() |
70946c92c2 | ||
![]() |
a8f5b99c23 | ||
![]() |
5cb7e3616a | ||
![]() |
b9ce0ea175 | ||
![]() |
d6381c747b | ||
![]() |
a054645a71 | ||
![]() |
0ce0f8a3f0 | ||
![]() |
3171f272fc | ||
![]() |
1cced9a621 | ||
![]() |
3132b76caa | ||
![]() |
b90e783f69 | ||
![]() |
9b0bc07ae4 | ||
![]() |
7bcb3920a1 | ||
![]() |
0ec6cb3d6d | ||
![]() |
9edb99d4cd | ||
![]() |
a1fac377a8 | ||
![]() |
80a5fac5f2 | ||
![]() |
f6fc00f3f2 | ||
![]() |
02d3f2bc92 | ||
![]() |
f682fa0816 | ||
![]() |
1e63a87a3d | ||
![]() |
47846ea562 | ||
![]() |
36d1db13a3 |
25
Changes
25
Changes
@@ -1,28 +1,3 @@
|
||||
feedgnuplot (1.54)
|
||||
|
||||
* Added --every and --everyall to decimate the input data
|
||||
* --timefmt can be used with --histogram
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Fri, 17 Apr 2020 14:06:55 -0700
|
||||
|
||||
feedgnuplot (1.53)
|
||||
|
||||
* Full support for all 4 axes. Added --x2...
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Wed, 08 Jan 2020 18:55:29 -0800
|
||||
|
||||
feedgnuplot (1.52)
|
||||
|
||||
* Added --squarexy and --square-xy as synonyms to --square_xy
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sun, 25 Aug 2019 15:32:37 -0700
|
||||
|
||||
feedgnuplot (1.51)
|
||||
|
||||
* Added .gp "terminal" to create self-plotting gnuplot files
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sat, 29 Sep 2018 10:56:30 -0700
|
||||
|
||||
feedgnuplot (1.50)
|
||||
|
||||
* Script waits for the plot window to close before exiting
|
||||
|
9
INSTALL
9
INSTALL
@@ -10,11 +10,4 @@ Without a package, an installation can be done with
|
||||
make
|
||||
make install
|
||||
|
||||
This installs feedgnuplot to /usr/local. Adjust the paths as required.
|
||||
|
||||
Also, note that this is a self-contained utility. Usually running from the tree
|
||||
works just fine:
|
||||
|
||||
git clone https://github.com/dkogan/feedgnuplot.git
|
||||
cd feedgnuplot/bin
|
||||
./feedgnuplot ...
|
||||
This installs feedgnuplot to /usr/local. Adjust the paths as required
|
||||
|
1009
README.pod
1009
README.pod
File diff suppressed because it is too large
Load Diff
1
README.pod
Symbolic link
1
README.pod
Symbolic link
@@ -0,0 +1 @@
|
||||
bin/feedgnuplot
|
325
bin/feedgnuplot
325
bin/feedgnuplot
@@ -16,7 +16,7 @@ use Pod::Usage;
|
||||
use Time::Piece;
|
||||
|
||||
# Makefile.PL assumes this is in ''
|
||||
my $VERSION = '1.54';
|
||||
my $VERSION = '1.50';
|
||||
|
||||
my %options;
|
||||
interpretCommandline();
|
||||
@@ -31,8 +31,8 @@ interpretCommandline();
|
||||
# datastring
|
||||
my @curves = ();
|
||||
|
||||
# Maps a curve ID to the corresponding curve
|
||||
my %curveFromID = ();
|
||||
# list mapping curve names to their indices in the @curves list
|
||||
my %curveIndices = ();
|
||||
|
||||
# Whether any new data has arrived since the last replot
|
||||
my $haveNewData;
|
||||
@@ -90,11 +90,8 @@ sub interpretCommandline
|
||||
$options{legend} = [];
|
||||
$options{curvestyle} = [];
|
||||
$options{style} = [];
|
||||
$options{every} = [];
|
||||
$options{histogram} = [];
|
||||
$options{x1y2} = [];
|
||||
$options{x2y1} = [];
|
||||
$options{x2y2} = [];
|
||||
$options{y2} = [];
|
||||
$options{extracmds} = [];
|
||||
$options{set} = [];
|
||||
$options{unset} = [];
|
||||
@@ -108,15 +105,11 @@ sub interpretCommandline
|
||||
$options{tuplesize} = [];
|
||||
|
||||
GetOptions(\%options, 'stream:s', 'domain!', 'dataid!', 'vnlog!', '3d!', 'colormap!', 'lines!', 'points!',
|
||||
'circles', 'legend=s{2}', 'autolegend!', 'xlabel=s', 'x2label=s', 'ylabel=s', 'y2label=s', 'zlabel=s',
|
||||
'title=s', 'xlen=f',
|
||||
'xmin=s', 'xmax=s', 'x2min=s', 'x2max=s',
|
||||
'ymin=f', 'ymax=f', 'y2min=f', 'y2max=f',
|
||||
'zmin=f', 'zmax=f',
|
||||
'x2=s@', 'y2=s@', 'x1y2=s@', 'x2y1=s@', 'x2y2=s@',
|
||||
'circles', 'legend=s{2}', 'autolegend!', 'xlabel=s', 'ylabel=s', 'y2label=s', 'zlabel=s',
|
||||
'title=s', 'xlen=f', 'ymin=f', 'ymax=f', 'xmin=s', 'xmax=s', 'y2min=f', 'y2max=f',
|
||||
'zmin=f', 'zmax=f', 'y2=s@',
|
||||
'style=s{2}', 'curvestyle=s{2}', 'curvestyleall=s', 'styleall=s', 'with=s', 'extracmds=s@', 'set=s@', 'unset=s@',
|
||||
'every=s{2}', 'everyall=s',
|
||||
'square!', 'square_xy!', 'square-xy!', 'squarexy!', 'hardcopy=s', 'maxcurves=i', 'monotonic!', 'timefmt=s',
|
||||
'square!', 'square_xy!', 'hardcopy=s', 'maxcurves=i', 'monotonic!', 'timefmt=s',
|
||||
'equation=s@',
|
||||
'image=s',
|
||||
'histogram=s@', 'binwidth=f', 'histstyle=s',
|
||||
@@ -150,10 +143,6 @@ sub interpretCommandline
|
||||
delete $options{styleall};
|
||||
}
|
||||
|
||||
# various square-xy synonyms
|
||||
$options{'square_xy'} = 1 if $options{'square-xy'} || $options{'squarexy'};
|
||||
|
||||
|
||||
push @{$options{curvestyle}}, @{$options{style}};
|
||||
delete $options{style};
|
||||
|
||||
@@ -175,12 +164,12 @@ sub interpretCommandline
|
||||
}
|
||||
|
||||
# expand options that are given as comma-separated lists
|
||||
for my $listkey (qw(histogram x2 y2 x1y2 x2y1 x2y2))
|
||||
for my $listkey (qw(histogram y2))
|
||||
{
|
||||
@{$options{$listkey}} = map split('\s*,\s*', $_), @{$options{$listkey}}
|
||||
if defined $options{$listkey};
|
||||
}
|
||||
for my $listkey (qw(curvestyle rangesize tuplesize every))
|
||||
for my $listkey (qw(curvestyle rangesize tuplesize))
|
||||
{
|
||||
next unless defined $options{$listkey};
|
||||
my @in = @{$options{$listkey}};
|
||||
@@ -199,11 +188,6 @@ sub interpretCommandline
|
||||
@{$options{$listkey}} = @out;
|
||||
}
|
||||
|
||||
# handle x2 == x2y1 and y2 == x1y2
|
||||
push @{$options{x2y1}}, @{$options{x2}} if defined $options{x2};
|
||||
push @{$options{x1y2}}, @{$options{y2}} if defined $options{y2};
|
||||
$options{x2} = [];
|
||||
$options{y2} = [];
|
||||
|
||||
# convert all tuplesize business to rangesize
|
||||
my $domainsize = $options{'3d'} ? 2 : 1;
|
||||
@@ -255,7 +239,7 @@ sub interpretCommandline
|
||||
# arrays in order to preserve the ordering. I parse both of these into hashes
|
||||
# because those are useful to have later. After this I can access individual
|
||||
# legends with $options{legend_hash}{curveid}
|
||||
for my $listkey (qw(legend curvestyle rangesize every))
|
||||
for my $listkey (qw(legend curvestyle rangesize))
|
||||
{
|
||||
$options{"${listkey}_hash"} = {};
|
||||
|
||||
@@ -363,11 +347,9 @@ sub interpretCommandline
|
||||
exit -1;
|
||||
}
|
||||
|
||||
if ( defined $options{x2min} || defined $options{x2max} ||
|
||||
defined $options{y2min} || defined $options{y2max} ||
|
||||
@{$options{x1y2}} || @{$options{x2y1}} || @{$options{x2y2}} )
|
||||
if ( defined $options{y2min} || defined $options{y2max} || @{$options{y2}} )
|
||||
{
|
||||
print STDERR "--3d does not make sense with --x2... or --y2...\n";
|
||||
print STDERR "--3d does not make sense with --y2...\n";
|
||||
exit -1;
|
||||
}
|
||||
|
||||
@@ -397,9 +379,9 @@ sub interpretCommandline
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( $options{timefmt} && !$options{domain} && !@{$options{histogram}} )
|
||||
if ( $options{timefmt} && !$options{domain} )
|
||||
{
|
||||
print STDERR "--timefmt makes sense only with --domain or --histogram\n";
|
||||
print STDERR "--timefmt makes sense only with --domain\n";
|
||||
exit -1;
|
||||
}
|
||||
|
||||
@@ -635,15 +617,51 @@ sub getNextLine
|
||||
sub mainThread
|
||||
{
|
||||
local *PIPE;
|
||||
my $dopersist = '';
|
||||
|
||||
if( getGnuplotVersion() >= 4.3 && # --persist not available before this
|
||||
|
||||
# --persist is needed for the "half-alive" state (see documentation for
|
||||
# --exit). This state is only used with these options:
|
||||
!$options{stream} && $options{exit})
|
||||
{
|
||||
$dopersist = '--persist';
|
||||
}
|
||||
|
||||
# We trap SIGINT to kill the data input, but keep the plot up. see
|
||||
# documentation for --exit
|
||||
if ($options{stream} && !$options{exit})
|
||||
{
|
||||
$SIG{INT} = sub
|
||||
{
|
||||
print STDERR "$0 received SIGINT. Send again to quit\n";
|
||||
$SIG{INT} = undef;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(exists $options{dump})
|
||||
{
|
||||
*PIPE = *STDOUT;
|
||||
}
|
||||
else
|
||||
{
|
||||
my $geometry = defined $options{geometry} ?
|
||||
"-geometry $options{geometry}" : '';
|
||||
open PIPE, "|gnuplot $geometry $dopersist" or die "Can't initialize gnuplot\n";
|
||||
}
|
||||
autoflush PIPE 1;
|
||||
|
||||
my $outputfile;
|
||||
my $outputfileType;
|
||||
if( defined $options{hardcopy})
|
||||
{
|
||||
$outputfile = $options{hardcopy};
|
||||
if( $outputfile =~ /^[^|] # starts with anything other than |
|
||||
.* # stuff in the middle
|
||||
\.(eps|ps|pdf|png|svg|gp)$/ix) # ends with a known extension
|
||||
if( $outputfile =~ /^[^|] # starts with anything other than |
|
||||
.* # stuff in the middle
|
||||
\.(eps|ps|pdf|png|svg)$/ix) # ends with a known extension
|
||||
{
|
||||
$outputfileType = lc $1;
|
||||
}
|
||||
@@ -653,8 +671,7 @@ sub mainThread
|
||||
ps => 'postscript noenhanced solid color landscape 12',
|
||||
pdf => 'pdfcairo noenhanced solid color font ",12" size 11in,8.5in',
|
||||
png => 'png noenhanced size 1280,1024',
|
||||
svg => 'svg noenhanced',
|
||||
gp => 'gp');
|
||||
svg => 'svg noenhanced');
|
||||
|
||||
if( !defined $options{terminal} &&
|
||||
defined $outputfileType &&
|
||||
@@ -666,89 +683,8 @@ sub mainThread
|
||||
die "Asked to plot to file '$outputfile', but I don't know which terminal to use, and no --terminal given"
|
||||
unless $options{terminal};
|
||||
}
|
||||
|
||||
|
||||
sub gpterminal
|
||||
{
|
||||
return defined $options{terminal} && $options{terminal} eq 'gp';
|
||||
}
|
||||
sub datadump_only
|
||||
{
|
||||
return
|
||||
exists $options{dump} ||
|
||||
gpterminal();
|
||||
}
|
||||
sub search_PATH
|
||||
{
|
||||
for my $pathdir (File::Spec->path())
|
||||
{
|
||||
my $gnuplot_execpath = File::Spec->catfile($pathdir, $_[0]);
|
||||
return $gnuplot_execpath
|
||||
if -x $gnuplot_execpath && ! -d $gnuplot_execpath;
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(datadump_only())
|
||||
{
|
||||
if(gpterminal())
|
||||
{
|
||||
open PIPE, '>', $outputfile;
|
||||
|
||||
my $gnuplotpath = search_PATH('gnuplot');
|
||||
if(!defined $gnuplotpath)
|
||||
{
|
||||
print STDERR "Couldn't find the gnuplot executable path. Creating .gp file still, but omitting #!. This will NOT be self-executable";
|
||||
}
|
||||
else
|
||||
{
|
||||
chmod 0755, $outputfile;
|
||||
print PIPE "#!$gnuplotpath\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
*PIPE = *STDOUT;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
my $dopersist = '';
|
||||
|
||||
if ( getGnuplotVersion() >= 4.3 && # --persist not available before this
|
||||
|
||||
# --persist is needed for the "half-alive" state (see documentation for
|
||||
# --exit). This state is only used with these options:
|
||||
!$options{stream} && $options{exit}) {
|
||||
$dopersist = '--persist';
|
||||
}
|
||||
|
||||
# We trap SIGINT to kill the data input, but keep the plot up. see
|
||||
# documentation for --exit
|
||||
if ($options{stream} && !$options{exit})
|
||||
{
|
||||
$SIG{INT} = sub
|
||||
{
|
||||
print STDERR "$0 received SIGINT. Send again to quit\n";
|
||||
$SIG{INT} = undef;
|
||||
};
|
||||
}
|
||||
|
||||
my $geometry = defined $options{geometry} ?
|
||||
"-geometry $options{geometry}" : '';
|
||||
open PIPE, "|gnuplot $geometry $dopersist" or die "Can't initialize gnuplot\n";
|
||||
autoflush PIPE 1;
|
||||
}
|
||||
|
||||
if(!gpterminal())
|
||||
{
|
||||
print PIPE "set terminal $options{terminal}\n" if $options{terminal};
|
||||
print PIPE "set output \"$outputfile\"\n" if $outputfile;
|
||||
}
|
||||
print PIPE "set terminal $options{terminal}\n" if $options{terminal};
|
||||
print PIPE "set output \"$outputfile\"\n" if $outputfile;
|
||||
|
||||
# set up plotting style
|
||||
my $style = '';
|
||||
@@ -763,10 +699,9 @@ sub mainThread
|
||||
print PIPE "set grid\n";
|
||||
|
||||
print(PIPE "set xlabel \"$options{xlabel }\"\n") if defined $options{xlabel};
|
||||
print(PIPE "set x2label \"$options{x2label}\"\n") if defined $options{x2label};
|
||||
print(PIPE "set ylabel \"$options{ylabel }\"\n") if defined $options{ylabel};
|
||||
print(PIPE "set y2label \"$options{y2label}\"\n") if defined $options{y2label};
|
||||
print(PIPE "set zlabel \"$options{zlabel }\"\n") if defined $options{zlabel};
|
||||
print(PIPE "set y2label \"$options{y2label}\"\n") if defined $options{y2label};
|
||||
print(PIPE "set title \"$options{title }\"\n") if defined $options{title};
|
||||
|
||||
if($options{square})
|
||||
@@ -814,21 +749,9 @@ sub mainThread
|
||||
$options{curvestyle}[$idx*2 + 1]);
|
||||
}
|
||||
}
|
||||
if(@{$options{every}})
|
||||
{
|
||||
# @{$options{every}} is a list where consecutive pairs are (curveID,
|
||||
# every).
|
||||
my $n = scalar @{$options{every}}/2;
|
||||
foreach my $idx (0..$n-1)
|
||||
{
|
||||
addEveryOption($options{every}[$idx*2 ],
|
||||
$options{every}[$idx*2 + 1]);
|
||||
}
|
||||
}
|
||||
|
||||
addCurveOption($_, 'axes x1y2') foreach (@{$options{x1y2}});
|
||||
addCurveOption($_, 'axes x2y1') foreach (@{$options{x2y1}});
|
||||
addCurveOption($_, 'axes x2y2') foreach (@{$options{x2y2}});
|
||||
# For the values requested to be printed on the y2 axis, set that
|
||||
addCurveOption($_, 'axes x1y2') foreach (@{$options{y2}});
|
||||
|
||||
# timefmt
|
||||
if( $options{timefmt} )
|
||||
@@ -845,14 +768,7 @@ sub mainThread
|
||||
|
||||
setCurveAsHistogram( $_ ) foreach (@{$options{histogram}});
|
||||
|
||||
if(@{$options{x2y1}} || @{$options{x2y2}})
|
||||
{
|
||||
print PIPE "set xtics nomirror\n";
|
||||
print PIPE "set x2tics\n";
|
||||
# if any of the ranges are given, set the range
|
||||
sendRangeCommand( "x2range", $options{x2min}, $options{x2max} );
|
||||
}
|
||||
if(@{$options{x1y2}} || @{$options{x2y2}})
|
||||
if(@{$options{y2}})
|
||||
{
|
||||
print PIPE "set ytics nomirror\n";
|
||||
print PIPE "set y2tics\n";
|
||||
@@ -1002,8 +918,8 @@ sub mainThread
|
||||
}
|
||||
else
|
||||
{
|
||||
$domain[0] = $line_number;
|
||||
$domain0_numeric = $line_number;
|
||||
$domain[0] = $line_number;
|
||||
$domain0_numeric = makeDomainNumeric( $domain[0] );
|
||||
}
|
||||
|
||||
my $id = -1;
|
||||
@@ -1045,7 +961,7 @@ sub mainThread
|
||||
# finished reading in all. Plot what we have
|
||||
plotStoredData() unless $options{stream} && $options{exit};
|
||||
|
||||
if ( defined $options{hardcopy} && !gpterminal())
|
||||
if ( defined $options{hardcopy})
|
||||
{
|
||||
print PIPE "set output\n";
|
||||
|
||||
@@ -1074,12 +990,7 @@ 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
|
||||
if(gpterminal())
|
||||
{
|
||||
print PIPE "pause mouse close\n";
|
||||
close PIPE;
|
||||
}
|
||||
elsif(!($options{dump} || $options{exit}))
|
||||
unless($options{dump} || $options{exit})
|
||||
{
|
||||
print PIPE "pause mouse close\n";
|
||||
}
|
||||
@@ -1156,7 +1067,7 @@ sub updateCurveOptions
|
||||
my $histoptions = $curve->{histoptions} || '';
|
||||
|
||||
my $usingoptions = '';
|
||||
if( $options{timefmt} && !$histoptions )
|
||||
if( $options{timefmt} )
|
||||
{
|
||||
# with --timefmt I need an explicit 'using' specification. I specify the
|
||||
# columns as 1:2:3..... I need the right number of columns (this is given
|
||||
@@ -1169,7 +1080,7 @@ sub updateCurveOptions
|
||||
}
|
||||
|
||||
|
||||
$curve->{options} = "$curve->{everyoptions} $histoptions $usingoptions $titleoption $curve->{extraoptions}";
|
||||
$curve->{options} = "$histoptions $usingoptions $titleoption $curve->{extraoptions}";
|
||||
}
|
||||
|
||||
sub getCurve
|
||||
@@ -1186,20 +1097,19 @@ sub getCurve
|
||||
|
||||
my ($id) = @_;
|
||||
|
||||
if( !exists $curveFromID{$id} )
|
||||
if( !exists $curveIndices{$id} )
|
||||
{
|
||||
my $curve = {extraoptions => ( exists $options{curvestyleall}) ?
|
||||
"$options{curvestyleall} " : ' ',
|
||||
everyoptions => (!exists $options{every_hash}{$id} &&
|
||||
exists $options{everyall}) ?
|
||||
"every $options{everyall} " : ' ',
|
||||
datastring => '',
|
||||
datastring_meta => [],
|
||||
datastring_offset => 0}; # push a curve with no data and no options
|
||||
push @curves, $curve; # push a curve with no data and no options
|
||||
$curveFromID{$id} = $curve;
|
||||
push @curves, {# 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} " : ' ',
|
||||
datastring => '',
|
||||
datastring_meta => [],
|
||||
datastring_offset => 0}; # push a curve with no data and no options
|
||||
$curveIndices{$id} = $#curves;
|
||||
|
||||
updateCurveOptions($curve, $id);
|
||||
updateCurveOptions($curves[$#curves], $id);
|
||||
|
||||
|
||||
# --xlen has a meaning if we're not plotting histograms at all or if we're
|
||||
@@ -1216,11 +1126,8 @@ sub getCurve
|
||||
print STDERR "--xlen only makes sense when plotting ONLY histograms or ONLY NON-histograms\n";
|
||||
exit -1;
|
||||
}
|
||||
|
||||
return $curve;
|
||||
}
|
||||
|
||||
return $curveFromID{$id};
|
||||
return $curves[$curveIndices{$id}];
|
||||
}
|
||||
|
||||
sub addCurveOption
|
||||
@@ -1231,14 +1138,6 @@ sub addCurveOption
|
||||
$curve->{extraoptions} .= "$str ";
|
||||
updateCurveOptions($curve, $id);
|
||||
}
|
||||
sub addEveryOption
|
||||
{
|
||||
my ($id, $str) = @_;
|
||||
|
||||
my $curve = getCurve($id);
|
||||
$curve->{everyoptions} .= "every $str ";
|
||||
updateCurveOptions($curve, $id);
|
||||
}
|
||||
|
||||
sub setCurveLabel
|
||||
{
|
||||
@@ -1415,7 +1314,6 @@ Simple plotting of piped data:
|
||||
2 +-----------------------------------------------------------------+ 0
|
||||
1 1.5 2 2.5 3 3.5 4 4.5 5
|
||||
|
||||
Here we asked for ASCII plotting, which is useful for documentation.
|
||||
|
||||
Simple real-time plotting example: plot how much data is received on the wlan0
|
||||
network interface in bytes/second (uses bash, awk and Linux):
|
||||
@@ -1642,20 +1540,15 @@ This command causes feedgnuplot to exit.
|
||||
|
||||
The script is able to produce hardcopy output with C<--hardcopy outputfile>. The
|
||||
output type can be inferred from the filename, if B<.ps>, B<.eps>, B<.pdf>,
|
||||
B<.svg>, B<.png> or B<.gp> is requested. If any other file type is requested,
|
||||
B<.svg> or B<.png> is requested. If any other file type is requested,
|
||||
C<--terminal> I<must> be passed in to tell gnuplot how to make the plot. If
|
||||
C<--terminal> is passed in, then the C<--hardcopy> argument only provides the
|
||||
output filename.
|
||||
|
||||
The B<.gp> output is special. Instead of asking gnuplot to plot to a particular
|
||||
terminal, writing to a B<.gp> simply dumps a self-executable gnuplot script into
|
||||
the given file. This is similar to what C<--dump> does, but writes to a file,
|
||||
and makes sure that the file can be self-executing.
|
||||
|
||||
=head2 Self-plotting data files
|
||||
|
||||
This script can be used to enable self-plotting data files. There are several
|
||||
ways of doing this: with a shebang (#!) or with inline perl data.
|
||||
This script can be used to enable self-plotting data files. There are 2 ways of
|
||||
doing this: with a shebang (#!) or with inline perl data.
|
||||
|
||||
=head3 Self-plotting data with a #!
|
||||
|
||||
@@ -1689,11 +1582,6 @@ characters and that the full path to feedgnuplot must be given. The 127
|
||||
character limit is a serious limitation, but this can likely be resolved with a
|
||||
kernel patch. I have only tried on Linux 2.6.
|
||||
|
||||
=head3 Self-plotting data with gnuplot
|
||||
|
||||
Running C<feedgnuplot --hardcopy plotdata.gp ....> will create a self-executable
|
||||
gnuplot script in C<plotdata.gp>
|
||||
|
||||
=head3 Self-plotting data with perl inline data
|
||||
|
||||
Perl supports storing data and code in the same file. This can also be used to
|
||||
@@ -1878,10 +1766,10 @@ plot I<only> histograms or I<only> I<non>-histograms.
|
||||
|
||||
=item
|
||||
|
||||
C<--xmin/xmax/x2min/x2max/ymin/ymax/y2min/y2max/zmin/zmax xxx>
|
||||
C<--xmin/xmax/ymin/ymax/y2min/y2max/zmin/zmax xxx>
|
||||
|
||||
Set the range for the given axis. These x-axis bounds are ignored in a streaming
|
||||
plot. The x2/y2-axis bounds do not apply in 3d plots. The z-axis bounds apply
|
||||
plot. The y2-axis bound do not apply in 3d plots. The z-axis bounds apply
|
||||
I<only> to 3d plots or colormaps. Note that there is no C<--xrange> to set both
|
||||
sides at once or C<--xinv> to flip the axis around: anything more than the
|
||||
basics supported in this option is clearly obtainable by talking to gnuplot, for
|
||||
@@ -1889,29 +1777,23 @@ instance C<--set 'xrange [20:10]'> to set the given inverted bounds.
|
||||
|
||||
=item
|
||||
|
||||
C<--xlabel/x2label/ylabel/y2label/zlabel xxx>
|
||||
C<--xlabel/ylabel/y2label/zlabel xxx>
|
||||
|
||||
Label the given axis. The x2/y2-axis labels do not apply to 3d plots while the
|
||||
Label the given axis. The y2-axis label does not apply to 3d plots while the
|
||||
z-axis label applies I<only> to 3d plots.
|
||||
|
||||
=item
|
||||
|
||||
C<--x2/--y2/--x1y2/--x2y1/--x2y2 xxx>
|
||||
C<--y2 xxx>
|
||||
|
||||
By default data is plotted against the x1 and y1 axes (the left and bottom one
|
||||
respectively). If we want a particular curve plotted against a different axis,
|
||||
we can specify that with these options. You pass C<--AXIS ID> where C<AXIS>
|
||||
defines the axis (C<x2> or C<y2> or C<x1y2> or C<x2y1> or C<x2y2>) and the C<ID>
|
||||
is the curve ID. C<--x2> is a synonym for C<--x2y1> and C<--y2> is a synonym for
|
||||
C<--x1y2>. The curve ID is an ordered 0-based index or a specific ID if
|
||||
C<--dataid> or C<--vnlog>. None of these apply to 3d plots. Can be passed
|
||||
multiple times for different curve IDs, multiple IDs can be passed in as a
|
||||
comma-separated list. By default the curves plotted against the various axes
|
||||
aren not drawn in any differentiated way: the viewer of the resulting plot has
|
||||
to be told which is which via an axes label, legend, colors, etc. Prior to
|
||||
version 1.25 of C<feedgnuplot> the curves plotted on the y2 axis were drawn with
|
||||
a thicker line. This is no longer the case, but that behavior can be brought
|
||||
back by passing something like
|
||||
Plot the data specified by this curve ID on the y2 axis. Without C<--dataid>,
|
||||
the ID is just an ordered 0-based index. Does not apply to 3d plots. Can be
|
||||
passed multiple times, or passed a comma-separated list. By default the y2-axis
|
||||
curves look the same as the y-axis ones. I.e. the viewer of the resulting plot
|
||||
has to be told which is which via an axes label, legend, etc. Prior to version
|
||||
1.25 of feedgnuplot the curves plotted on the y2 axis were drawn with a thicker
|
||||
line. This is no longer the case, but that behavior can be brought back by
|
||||
passing something like
|
||||
|
||||
--y2 curveid --style curveid 'linewidth 3'
|
||||
|
||||
@@ -1994,21 +1876,6 @@ Exclusive with C<--styleall>.
|
||||
|
||||
=item
|
||||
|
||||
C<--every curveID factor>
|
||||
|
||||
Decimates the input. Instead of plotting every point in the given curve, plot
|
||||
one point per factor. This is useful to quickly process huge datasets. For
|
||||
instance, to plot 1% of the data, pass a factor of 100.
|
||||
|
||||
=item
|
||||
|
||||
C<--everyallID factor>
|
||||
|
||||
Decimates the input. This works exactly like C<--every>, except it applies to
|
||||
I<all> the curves.
|
||||
|
||||
=item
|
||||
|
||||
C<--extracmds xxx>
|
||||
|
||||
Additional commands to pass on to gnuplot verbatim. These could contain extra
|
||||
@@ -2077,7 +1944,7 @@ all 3 axes
|
||||
|
||||
=item
|
||||
|
||||
C<--square-xy>
|
||||
C<--square_xy>
|
||||
|
||||
For 3D plots, set square aspect ratio for ONLY the x,y axes
|
||||
|
||||
|
@@ -9,8 +9,6 @@ complete -W \
|
||||
--curvestyleall \
|
||||
--style \
|
||||
--styleall \
|
||||
--every \
|
||||
--everyall \
|
||||
--with \
|
||||
--dataid \
|
||||
--domain \
|
||||
@@ -19,8 +17,6 @@ complete -W \
|
||||
--extraValuesPerPoint \
|
||||
--rangesizeall \
|
||||
--rangesize \
|
||||
--tuplesizeall \
|
||||
--tuplesize \
|
||||
--extracmds \
|
||||
--set \
|
||||
--unset \
|
||||
@@ -37,31 +33,23 @@ complete -W \
|
||||
--monotonic \
|
||||
--points \
|
||||
--square \
|
||||
--square-xy \
|
||||
--square_xy \
|
||||
--stream \
|
||||
--terminal \
|
||||
--timefmt \
|
||||
--title \
|
||||
--version \
|
||||
--x2 \
|
||||
--y2 \
|
||||
--x2y1 \
|
||||
--x1y2 \
|
||||
--x2y2 \
|
||||
--xlabel \
|
||||
--xlen \
|
||||
--xmax \
|
||||
--xmin \
|
||||
--x2label \
|
||||
--x2max \
|
||||
--x2min \
|
||||
--ylabel \
|
||||
--ymax \
|
||||
--ymin \
|
||||
--y2 \
|
||||
--y2label \
|
||||
--y2max \
|
||||
--y2min \
|
||||
--ylabel \
|
||||
--ymax \
|
||||
--ymin \
|
||||
--zlabel \
|
||||
--zmax \
|
||||
--zmin \
|
||||
--vnlog ' feedgnuplot
|
||||
--zmin' feedgnuplot
|
||||
|
@@ -10,28 +10,22 @@ _arguments -S
|
||||
'--points' \
|
||||
'--circles' \
|
||||
'--xlabel:X-axis label:' \
|
||||
'--x2label:X2-axis label:' \
|
||||
'--ylabel:Y-axis label:' \
|
||||
'--y2label:Y2-axis label:' \
|
||||
'--zlabel:Z-axis label:' \
|
||||
'--zlabel:Z-axis label:' \
|
||||
'--title:Plot title:' \
|
||||
'--autolegend[Label each plot with its data ID]' \
|
||||
'(--3d)--xlen[the size of the x-window to plot]:window size:' \
|
||||
'(--xlen)--xmin:min X:' \
|
||||
'(--xlen)--xmax:max X:' \
|
||||
'--x2min:min X2:' \
|
||||
'--x2max:max X2:' \
|
||||
'--ymin:min Y:' \
|
||||
'--ymax:max Y:' \
|
||||
'--y2min:min Y2:' \
|
||||
'--y2max:max Y2:' \
|
||||
'--zmin:min Z:' \
|
||||
'--zmax:max Z:' \
|
||||
'*--x2:curve to place on the X2Y1 axis:' \
|
||||
'*--y2:curve to place on the X1Y2 axis:' \
|
||||
'*--x2y1:curve to place on the X2Y1 axis:' \
|
||||
'*--x1y2:curve to place on the X1Y2 axis:' \
|
||||
'*--x2y2:curve to place on the X2Y2 axis:' \
|
||||
'*--y2:plot to place on the Y2 axis:' \
|
||||
'(--with)--curvestyleall[Additional styles for ALL curves]:style' \
|
||||
'(--with)--styleall[Additional styles for ALL curves]:style' \
|
||||
'(--curvestyleall)--with[Additional styles for ALL curves]:style' \
|
||||
@@ -41,21 +35,17 @@ _arguments -S
|
||||
'*--equation[Raw symbolic equation]:equation' \
|
||||
'--image[Image file to render beneath the data]:image:_files -g "(#i)*.(jpg|jpeg|png|gif)"' \
|
||||
'--square[Plot data with square aspect ratio]' \
|
||||
'--square-xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]' \
|
||||
'--square_xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]' \
|
||||
'--hardcopy[Plot to a file]:new image filename:_files -g "(#i)*.(jpg|jpeg|png|gif)"' \
|
||||
'--maxcurves[The maximum allowed number of curves]:number of curves' \
|
||||
'(--3d)--monotonic[Resets plot if an X in the past is seen]' \
|
||||
'(--rangesizeall)--extraValuesPerPoint[How many extra values are given for each data range]:N'\
|
||||
'(--extraValuesPerPoint)--rangesizeall[How many values are given for each data range]:N'\
|
||||
'*--rangesize[How many values comprise a data range in this curve]:curve id: :N:' \
|
||||
'(--extraValuesPerPoint)--tuplesizeall[How many values are given for each data tuple]:N'\
|
||||
'*--tuplesize[How many values comprise a data tuple in this curve]:curve id: :N:' \
|
||||
'--dump[Instead of printing to gnuplot, print to STDOUT]' \
|
||||
'--geometry[The X11 geometry string]:geometry string:' \
|
||||
'*--curvestyle[Additional styles for a curve]:curve id: :style:' \
|
||||
'*--style[Additional styles for a curve]:curve id: :style:' \
|
||||
'*--every[Decimation factor for a curve]:curve id: :decimation factor:' \
|
||||
'--everyall[Decimation factor for ALL curves]:decimation factor' \
|
||||
'(--3d)*--histogram:plot to treat as a histogram:' \
|
||||
'--binwidth:Histogram bin width:' \
|
||||
'--histstyle:Style of histogram:(frequency fnormal unique cumulative cnormal)' \
|
||||
@@ -64,5 +54,4 @@ _arguments -S
|
||||
'--exit[Exit gnuplot after making the plot]' \
|
||||
'--version' \
|
||||
'--help' \
|
||||
'--timefmt[Format for time/date data]:time format' \
|
||||
'--vnlog[column IDs come from a vnlog header]'
|
||||
'--timefmt[Format for time/date data]:time format'
|
||||
|
195
debian/changelog
vendored
Normal file
195
debian/changelog
vendored
Normal file
@@ -0,0 +1,195 @@
|
||||
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
|
||||
|
||||
* --vnl now works with plots that have rangesize > 1
|
||||
* zsh completion: --xlen argument isn't optional
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Fri, 16 Mar 2018 13:56:27 -0700
|
||||
|
||||
feedgnuplot (1.48-1) unstable; urgency=medium
|
||||
|
||||
* Added --tuplesize and --tuplesizeall
|
||||
* vnlog integration
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Sat, 24 Feb 2018 12:56:05 -0800
|
||||
|
||||
feedgnuplot (1.45-1) unstable; urgency=medium
|
||||
|
||||
* zsh completion: --hardcopy, --image suggest filenames
|
||||
* --image now produces a nicer legend: just the filename
|
||||
* --curvestyle now overrides --curvestyleall
|
||||
- This is a bug fix
|
||||
* The version is now treated as a string not as a number
|
||||
- So "1.40" is distinct from "1.4"
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Sun, 29 Oct 2017 14:06:26 -0700
|
||||
|
||||
feedgnuplot (1.44-1) unstable; urgency=medium
|
||||
|
||||
* --image always goes on the FRONT of the equation list
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Tue, 20 Jun 2017 16:45:42 -0700
|
||||
|
||||
feedgnuplot (1.43-1) unstable; urgency=medium
|
||||
|
||||
* added --image as a convenience wrapper for --equation
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Mon, 19 Jun 2017 13:16:18 -0700
|
||||
|
||||
feedgnuplot (1.42-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update:
|
||||
- Fixed regression: data can now come from STDIN or files on the
|
||||
cmdline
|
||||
- reworded manpage of --exit
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Tue, 25 Apr 2017 11:02:18 -0700
|
||||
|
||||
feedgnuplot (1.41-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update:
|
||||
- Histograms: --xlen can coexist with --xmin/--xmax
|
||||
- Histograms: work as expected with --xlen and --monotonic
|
||||
- Histograms: better sanity checking of options
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Fri, 24 Feb 2017 23:53:27 -0800
|
||||
|
||||
feedgnuplot (1.40-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update:
|
||||
- If the options couldn't be parsed I don't dump the whole manpage
|
||||
- --style and --rangesize can now take a comma-separated list of IDs
|
||||
- 'any' is from List::MoreUtils, not List::Util
|
||||
- the sleep-forever delay at end is now > 1000 days
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Fri, 25 Nov 2016 14:49:36 -0800
|
||||
|
||||
feedgnuplot (1.39-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update:
|
||||
- by default, histograms are plotted in expected ways
|
||||
- No enhanced text mode in hardcopies, slightly larger font size
|
||||
|
||||
-- Dima Kogan <dkogan@debian.org> Sat, 15 Oct 2016 20:45:15 -0700
|
||||
|
||||
feedgnuplot (1.37-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update: At the end of a streaming plot, include the last
|
||||
chunk of data
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 01 Jan 2016 08:14:23 -0800
|
||||
|
||||
feedgnuplot (1.36-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update: added --equation to plot symbolic equations
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 13 Nov 2015 11:14:30 -0800
|
||||
|
||||
feedgnuplot (1.35-1) unstable; urgency=medium
|
||||
|
||||
* Upstream update: fancier handling of termination conditions, no more
|
||||
threading code
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Mon, 02 Nov 2015 13:55:32 -0800
|
||||
|
||||
feedgnuplot (1.34-2) unstable; urgency=medium
|
||||
|
||||
* Depends now works with the 'gnuplot5' packages
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 10 Oct 2014 14:05:17 -0700
|
||||
|
||||
feedgnuplot (1.34-1) unstable; urgency=medium
|
||||
|
||||
* Very minor upstream update
|
||||
* gnuplot-nox can no satisfy the gnuplot dependency for feedgnuplot
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Wed, 06 Aug 2014 15:19:56 -0700
|
||||
|
||||
feedgnuplot (1.33-1) unstable; urgency=low
|
||||
|
||||
* Upstream update: fixed incorrect plotting of --timefmt --rangesize
|
||||
plots
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Thu, 06 Feb 2014 23:19:02 -0800
|
||||
|
||||
feedgnuplot (1.32-1) unstable; urgency=low
|
||||
|
||||
* Added --rangesize and --rangesizeall. Different curves can now plot
|
||||
different-size tuples
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Wed, 05 Feb 2014 14:00:44 -0800
|
||||
|
||||
feedgnuplot (1.30-1) unstable; urgency=low
|
||||
|
||||
* made the VCS links canonical
|
||||
* added --set, --unset, --with, --style, --styleall
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 24 Jan 2014 15:50:03 -0800
|
||||
|
||||
feedgnuplot (1.28-1) unstable; urgency=low
|
||||
|
||||
* Upstream update:
|
||||
- Removed example debianization
|
||||
- Removed unreliable unit tests from automated testing (Closes: #731080)
|
||||
* gnuplot dependency now favors graphical gnuplot packages
|
||||
* Removed Anton Gladky from the Uploaders
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Wed, 04 Dec 2013 02:05:08 -0800
|
||||
|
||||
feedgnuplot (1.26-1) unstable; urgency=low
|
||||
|
||||
[ Dima Kogan ]
|
||||
* Minor POD update
|
||||
* Added test suite
|
||||
* Added initial support for --timefmt. Currently time/date data is
|
||||
supported only at the x-axis domain
|
||||
* Added --exit option for force feedgnuplot to return even if gnuplot
|
||||
may not yet be done rendering (patch by Eric Schulte)
|
||||
* Reformatted the documentation
|
||||
* y2-axis curves no longer have a thicker line by default
|
||||
* --hardcopy now handles piped output (gnuplot 'set output |process'
|
||||
syntax)
|
||||
|
||||
[ Anton Gladky ]
|
||||
* Add libipc-run-perl to Build-Depends to execute tests
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sun, 20 Oct 2013 01:19:51 -0700
|
||||
|
||||
feedgnuplot (1.24-2) unstable; urgency=low
|
||||
|
||||
* Now building the html documentation from the correct POD source
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sun, 28 Apr 2013 17:42:52 -0700
|
||||
|
||||
feedgnuplot (1.24-1) unstable; urgency=low
|
||||
|
||||
* Fixed regression in --monotonic. This works again now
|
||||
* moved POD back into the main source file. This fixes the broken usage
|
||||
messages
|
||||
* added --version
|
||||
* fixed watchfile to work with newer github pages
|
||||
* priority now optional
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 08 Feb 2013 02:01:32 -0800
|
||||
|
||||
feedgnuplot (1.23-2) unstable; urgency=low
|
||||
|
||||
* Initial Debian release (Closes: #686413)
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Tue, 30 Oct 2012 11:14:01 -0700
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
21
debian/control
vendored
Normal file
21
debian/control
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Source: feedgnuplot
|
||||
Section: science
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 9), libstring-shellquote-perl, perl, gawk, gnuplot, libipc-run-perl
|
||||
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Dima Kogan <dima@secretsauce.net>
|
||||
Standards-Version: 3.9.4
|
||||
Homepage: https://github.com/dkogan/feedgnuplot
|
||||
Vcs-Browser: https://salsa.debian.org/science-team/feedgnuplot
|
||||
Vcs-Git: https://salsa.debian.org/science-team/feedgnuplot.git
|
||||
|
||||
Package: feedgnuplot
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${perl:Depends},
|
||||
liblist-moreutils-perl,
|
||||
gnuplot-qt | gnuplot-x11 | gnuplot-nox | gnuplot5-qt | gnuplot5-x11 | gnuplot5-nox | gnuplot
|
||||
Description: Pipe-oriented frontend to Gnuplot
|
||||
Flexible, command-line-oriented frontend to Gnuplot. Creates plots from data
|
||||
coming in on STDIN or given in a filename passed on the commandline. Various
|
||||
data representations are supported, as is hardcopy output and streaming display
|
||||
of live data.
|
24
debian/copyright
vendored
Normal file
24
debian/copyright
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://github.com/dkogan/feedgnuplot
|
||||
Upstream-Contact: Dima Kogan, <dima@secretsauce.net>
|
||||
Upstream-Name: feedgnuplot
|
||||
|
||||
Files: *
|
||||
Copyright: 2011, Dima Kogan <dima@secretsauce.net>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
License: Artistic
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Artistic License, which comes with Perl.
|
||||
.
|
||||
On Debian GNU/Linux systems, the complete text of the Artistic License
|
||||
can be found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: GPL-1+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian GNU/Linux systems, the complete text of version 1 of the
|
||||
General Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
9
debian/feedgnuplot.doc-base
vendored
Normal file
9
debian/feedgnuplot.doc-base
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
Document: feedgnuplot
|
||||
Title: Feedgnuplot Manual
|
||||
Author: Dima Kogan
|
||||
Abstract: Formatted manpage for feedgnuplot
|
||||
Section: Science/Data Analysis
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/feedgnuplot/feedgnuplot.html
|
||||
Files: /usr/share/doc/feedgnuplot/feedgnuplot.html
|
1
debian/feedgnuplot.docs
vendored
Normal file
1
debian/feedgnuplot.docs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
feedgnuplot.html
|
2
debian/feedgnuplot.install
vendored
Normal file
2
debian/feedgnuplot.install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
completions/bash/feedgnuplot /usr/share/bash-completion/completions/
|
||||
completions/zsh/_feedgnuplot /usr/share/zsh/vendor-completions
|
4
debian/gbp.conf
vendored
Normal file
4
debian/gbp.conf
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
debian-branch = debian
|
||||
upstream-tag = v%(version)s
|
||||
pristine-tar = True
|
12
debian/rules
vendored
Executable file
12
debian/rules
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
pod2html --title=feedgnuplot bin/feedgnuplot > feedgnuplot.html
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf feedgnuplot.html pod2htm*
|
||||
dh_auto_clean
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
version=3
|
||||
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \
|
||||
https://github.com/dkogan/feedgnuplot/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
|
||||
# Bart Martens <bartm@debian.org> Sat, 22 Dec 2012 12:54:18 +0000
|
Reference in New Issue
Block a user