mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-19 03:38:08 +08:00
Compare commits
110 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fce0b9bb99 | ||
![]() |
47957cfed6 | ||
![]() |
bb9220ea97 | ||
![]() |
099ef33843 | ||
![]() |
b2c57797a7 | ||
![]() |
c8dac15db3 | ||
![]() |
4244299169 | ||
![]() |
4234c94737 | ||
![]() |
154377691c | ||
![]() |
bdb9919c39 | ||
![]() |
4e85f991c4 | ||
![]() |
2e6c9d6ea3 | ||
![]() |
c4eef7a167 | ||
![]() |
7e1e6af184 | ||
![]() |
e9c9ff02e4 | ||
![]() |
2f9a6acdb3 | ||
![]() |
5e0869dc25 | ||
![]() |
592ce20d1f | ||
![]() |
373b97092e | ||
![]() |
e4523f97e7 | ||
![]() |
d73118087a | ||
![]() |
b8111af563 | ||
![]() |
54fc8c625d | ||
![]() |
8bb0c3a7d8 | ||
![]() |
29f4f5a368 | ||
![]() |
55faefec8b | ||
![]() |
77f54da873 | ||
![]() |
b5275d6386 | ||
![]() |
481f18a5fb | ||
![]() |
40fea5eb7f | ||
![]() |
016c7ebfa9 | ||
![]() |
350b2db022 | ||
![]() |
ba0f2eee08 | ||
![]() |
9237811ed0 | ||
![]() |
69285d7df1 | ||
![]() |
aedbc28afe | ||
![]() |
e865871492 | ||
![]() |
0f85110a38 | ||
![]() |
5cf4acca62 | ||
![]() |
319e86b667 | ||
![]() |
938e360e84 | ||
![]() |
d5e8906946 | ||
![]() |
e8f9e09090 | ||
![]() |
9df57fb65f | ||
![]() |
69bd05eddb | ||
![]() |
ca61de7441 | ||
![]() |
851eb46aa8 | ||
![]() |
f2ac9c91b8 | ||
![]() |
e79659a10d | ||
![]() |
2aa51d2a60 | ||
![]() |
3bf2fa43ef | ||
![]() |
9cc67cdaeb | ||
![]() |
07a109b09a | ||
![]() |
7b3040ecc9 | ||
![]() |
b59137c255 | ||
![]() |
fec440c8b3 | ||
![]() |
5758865246 | ||
![]() |
6f091d1cf2 | ||
![]() |
1c853a2193 | ||
![]() |
defcf5ef59 | ||
![]() |
ba112a3bd9 | ||
![]() |
7d7511e62e | ||
![]() |
1744aeb6d2 | ||
![]() |
53f6cdae5b | ||
![]() |
ed9512924d | ||
![]() |
2ee401fcb4 | ||
![]() |
7c1f02ec7f | ||
![]() |
5740e55a6f | ||
![]() |
a0c9e6e8bc | ||
![]() |
64b12e4738 | ||
![]() |
402fa32bda | ||
![]() |
7da37a0015 | ||
![]() |
a48b834512 | ||
![]() |
888583abe9 | ||
![]() |
e17f110269 | ||
![]() |
89a185f8a6 | ||
![]() |
35ed74eaf1 | ||
![]() |
07f574a929 | ||
![]() |
5dce1d8cda | ||
![]() |
048b0db65c | ||
![]() |
b0877a8926 | ||
![]() |
4958bda912 | ||
![]() |
3860d8281b | ||
![]() |
4f9adb6e11 | ||
![]() |
167e85d2a7 | ||
![]() |
5123ca73d3 | ||
![]() |
d4ca90e1bd | ||
![]() |
9e669044c7 | ||
![]() |
cacbedb336 | ||
![]() |
18994e68e1 | ||
![]() |
f8ed461571 | ||
![]() |
f01431dd1e | ||
![]() |
80b6030996 | ||
![]() |
232b68b819 | ||
![]() |
12eb829f16 | ||
![]() |
80b5d0ab61 | ||
![]() |
960c43e758 | ||
![]() |
2ecdfb9aef | ||
![]() |
fa7082b242 | ||
![]() |
c61e58da0a | ||
![]() |
c19dc4aa2a | ||
![]() |
238a0c1943 | ||
![]() |
42a8218fbe | ||
![]() |
4cfcf0fc35 | ||
![]() |
0e7f51f3f7 | ||
![]() |
01971c2434 | ||
![]() |
104accdd0d | ||
![]() |
605158b391 | ||
![]() |
0c32afacfd | ||
![]() |
1688496f34 |
164
Changes
164
Changes
@@ -1,3 +1,167 @@
|
||||
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)
|
||||
|
||||
* 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
|
||||
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
|
||||
* zsh completion: --xlen argument isn't optional
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 16 Mar 2018 13:52:28 -0700
|
||||
|
||||
feedgnuplot (1.48)
|
||||
|
||||
* --vnlog works properly with --domain
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sat, 24 Feb 2018 12:33:50 -0800
|
||||
|
||||
feedgnuplot (1.47)
|
||||
|
||||
* Fixed typo. Everything is un-broken now
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 23 Feb 2018 10:21:13 -0800
|
||||
|
||||
feedgnuplot (1.46)
|
||||
|
||||
* Added --tuplesize and --tuplesizeall as alternatives to --rangesize
|
||||
and --rangesizeall. Both forms are supported.
|
||||
* Vnlog integration
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Thu, 22 Feb 2018 23:37:54 -0800
|
||||
|
||||
feedgnuplot (1.45)
|
||||
|
||||
* 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 <dima@secretsauce.net> Sun, 29 Oct 2017 13:56:28 -0700
|
||||
|
||||
feedgnuplot (1.44)
|
||||
|
||||
* --image draws its output beneath everything else
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Tue, 20 Jun 2017 16:44:30 -0700
|
||||
|
||||
feedgnuplot (1.43)
|
||||
|
||||
* Added --image
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Mon, 19 Jun 2017 13:12:38 -0700
|
||||
|
||||
feedgnuplot (1.42)
|
||||
|
||||
* Data can now come from STDIN or files on the cmdline.
|
||||
This fixes a regression. Self-plotting data files work again
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 31 Mar 2017 15:38:47 -0700
|
||||
|
||||
feedgnuplot (1.41)
|
||||
|
||||
* Histograms: --xlen can coexist with --xmin/--xmax
|
||||
* Histograms: work as expected with --xlen and --monotonic
|
||||
* Histograms: better sanity checking of options
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 24 Feb 2017 23:42:28 -0800
|
||||
|
||||
feedgnuplot (1.40)
|
||||
|
||||
* 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 <dima@secretsauce.net> Fri, 25 Nov 2016 14:45:06 -0800
|
||||
|
||||
feedgnuplot (1.39)
|
||||
|
||||
* by default, histograms are plotted in expected ways
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sat, 15 Oct 2016 20:45:15 -0700
|
||||
|
||||
feedgnuplot (1.38)
|
||||
|
||||
* hardcopy defaults:
|
||||
- no enhanced text mode
|
||||
- larger font size
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Wed, 27 Jul 2016 22:15:11 -0700
|
||||
|
||||
feedgnuplot (1.37)
|
||||
|
||||
* At the end of a streaming plot, include the last chunk of data
|
||||
* Added --equation to the completions
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 01 Jan 2016 08:09:43 -0800
|
||||
|
||||
feedgnuplot (1.36)
|
||||
|
||||
* Added --equation to plot symbolic equations
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Fri, 13 Nov 2015 11:08:26 -0800
|
||||
|
||||
feedgnuplot (1.35)
|
||||
|
||||
* replaced a 'say' with 'print'. Should work better with ancient perls
|
||||
* an "exit" command now has effect even with triggered-only replotting
|
||||
|
||||
* More sophisticated handling of termination conditions:
|
||||
- Without --exit, we always end up with an interactive plot when the
|
||||
input data is exhausted or when the user sends a ^C to the pipeline
|
||||
- When streaming, the first ^C does not kill feedgnuplot
|
||||
|
||||
* Removed threading
|
||||
|
||||
-- Dima Kogan <dima@secretsauce.net> Sun, 01 Nov 2015 12:50:33 -0800
|
||||
|
||||
feedgnuplot (1.34)
|
||||
|
||||
* Fix for "Use of implicit split to @_ is deprecated". Thanks to Corey
|
||||
|
9
INSTALL
9
INSTALL
@@ -10,4 +10,11 @@ Without a package, an installation can be done with
|
||||
make
|
||||
make install
|
||||
|
||||
This installs feedgnuplot to /usr/local. Adjust the paths as required
|
||||
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 ...
|
||||
|
@@ -20,9 +20,9 @@ sub parseversion
|
||||
|
||||
while(<PL>)
|
||||
{
|
||||
if( /VERSION = ([0-9\.]+)/ )
|
||||
if( /VERSION = '([0-9\.]+)'/ )
|
||||
{
|
||||
if ( $1 != $version )
|
||||
if ( $1 ne $version )
|
||||
{
|
||||
die "Version mismatch. Changes says version is '$version', but 'bin/feedgnuplot' says it is '$1'";
|
||||
}
|
||||
@@ -64,6 +64,7 @@ WriteMakefile
|
||||
PL_FILES => {},
|
||||
EXE_FILES => [ 'bin/feedgnuplot' ],
|
||||
BUILD_REQUIRES => { 'String::ShellQuote' => 0,
|
||||
'List::MoreUtils' => 0,
|
||||
'IPC::Run' => 0},
|
||||
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
||||
clean => { FILES => 'feedgnuplot-*' },
|
||||
|
@@ -1 +0,0 @@
|
||||
bin/feedgnuplot
|
1009
README.pod
Normal file
1009
README.pod
Normal file
File diff suppressed because it is too large
Load Diff
1393
bin/feedgnuplot
1393
bin/feedgnuplot
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,8 @@ complete -W \
|
||||
--curvestyleall \
|
||||
--style \
|
||||
--styleall \
|
||||
--every \
|
||||
--everyall \
|
||||
--with \
|
||||
--dataid \
|
||||
--domain \
|
||||
@@ -17,9 +19,13 @@ complete -W \
|
||||
--extraValuesPerPoint \
|
||||
--rangesizeall \
|
||||
--rangesize \
|
||||
--tuplesizeall \
|
||||
--tuplesize \
|
||||
--extracmds \
|
||||
--set \
|
||||
--unset \
|
||||
--equation \
|
||||
--image \
|
||||
--geometry \
|
||||
--hardcopy \
|
||||
--help \
|
||||
@@ -31,23 +37,31 @@ complete -W \
|
||||
--monotonic \
|
||||
--points \
|
||||
--square \
|
||||
--square_xy \
|
||||
--square-xy \
|
||||
--stream \
|
||||
--terminal \
|
||||
--timefmt \
|
||||
--title \
|
||||
--version \
|
||||
--x2 \
|
||||
--y2 \
|
||||
--x2y1 \
|
||||
--x1y2 \
|
||||
--x2y2 \
|
||||
--xlabel \
|
||||
--xlen \
|
||||
--xmax \
|
||||
--xmin \
|
||||
--y2 \
|
||||
--y2label \
|
||||
--y2max \
|
||||
--y2min \
|
||||
--x2label \
|
||||
--x2max \
|
||||
--x2min \
|
||||
--ylabel \
|
||||
--ymax \
|
||||
--ymin \
|
||||
--y2label \
|
||||
--y2max \
|
||||
--y2min \
|
||||
--zlabel \
|
||||
--zmax \
|
||||
--zmin' feedgnuplot
|
||||
--zmin \
|
||||
--vnlog ' feedgnuplot
|
||||
|
@@ -10,46 +10,59 @@ _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:' \
|
||||
'(--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:' \
|
||||
'*--y2:plot to place on the Y2 axis:' \
|
||||
'*--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:' \
|
||||
'(--with)--curvestyleall[Additional styles for ALL curves]:style' \
|
||||
'(--with)--styleall[Additional styles for ALL curves]:style' \
|
||||
'(--curvestyleall)--with[Additional styles for ALL curves]:style' \
|
||||
'*--extracmds[Additional gnuplot commands]:command' \
|
||||
'*--set[Additional 'set' gnuplot commands]:set-option' \
|
||||
'*--unset[Additional 'unset' gnuplot commands]:unset-option' \
|
||||
'*--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]' \
|
||||
'--hardcopy[Plot to a file]:filename' \
|
||||
'--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 unique cumulative cnormal)' \
|
||||
'--histstyle:Style of histogram:(frequency fnormal unique cumulative cnormal)' \
|
||||
'--terminal:Terminal options to set with "set terminal":' \
|
||||
'*--legend[Legend for a curve]:curve id: :legend:' \
|
||||
'--exit[Exit gnuplot after making the plot]' \
|
||||
'--version' \
|
||||
'--help' \
|
||||
'--timefmt[Format for time/date data]:time format'
|
||||
'--timefmt[Format for time/date data]:time format' \
|
||||
'--vnlog[column IDs come from a vnlog header]'
|
||||
|
58
feedgnuplot.spec
Normal file
58
feedgnuplot.spec
Normal file
@@ -0,0 +1,58 @@
|
||||
# Sample spec file for rpm-based systems. Debian-based systems already have this
|
||||
# packaged, so we do not ship those here
|
||||
|
||||
Name: feedgnuplot
|
||||
Version: 1.38
|
||||
Release: 1%{?dist}
|
||||
Summary: Pipe-oriented frontend to Gnuplot
|
||||
BuildArch: noarch
|
||||
|
||||
License: Artistic or GPL-1+
|
||||
URL: https://www.github.com/dkogan/feedgnuplot/
|
||||
Source0: https://www.github.com/dkogan/feedgnuplot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: /usr/bin/pod2html
|
||||
BuildRequires: perl-String-ShellQuote
|
||||
BuildRequires: perl-ExtUtils-MakeMaker
|
||||
BuildRequires: perl
|
||||
BuildRequires: gawk
|
||||
BuildRequires: gnuplot
|
||||
BuildRequires: perl-IPC-Run
|
||||
|
||||
Requires: gnuplot
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
pod2html --title=feedgnuplot bin/feedgnuplot > feedgnuplot.html
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PREFIX=/usr
|
||||
|
||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||
cp Changes LICENSE feedgnuplot.html %{buildroot}%{_defaultdocdir}/%{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
|
||||
cp completions/zsh/* %{buildroot}%{_datadir}/zsh/site-functions
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||
cp completions/bash/* %{buildroot}%{_datadir}/bash-completion/completions
|
||||
|
||||
rm -rf %{buildroot}/usr/lib64
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/*
|
||||
%{_datadir}/zsh/*
|
||||
%{_datadir}/bash-completion/*
|
||||
%doc %{_defaultdocdir}/%{name}/*
|
||||
%doc %{_mandir}
|
Reference in New Issue
Block a user