Dima Kogan
18994e68e1
version bump
2016-07-27 22:16:34 -07:00
Dima Kogan
f8ed461571
No enhanced text mode in hardcopies, slightly larger font size
2016-07-11 10:11:06 -07:00
Dima Kogan
f01431dd1e
removed unneeded old code
2016-01-22 00:48:59 -08:00
Dima Kogan
80b6030996
version bump
2016-01-01 08:11:45 -08:00
Dima Kogan
232b68b819
At the end of a streaming plot, include the last chunk of data
2016-01-01 08:08:51 -08:00
Dima Kogan
12eb829f16
whitespace
2015-12-15 13:18:29 -08:00
Dima Kogan
80b5d0ab61
improved documentation of --histstyle
2015-12-15 13:18:23 -08:00
Dima Kogan
2ecdfb9aef
minor POD fix
2015-11-13 11:19:25 -08:00
Dima Kogan
fa7082b242
version bump
2015-11-13 11:08:30 -08:00
Dima Kogan
c61e58da0a
added --equation
2015-11-13 11:07:18 -08:00
Dima Kogan
c19dc4aa2a
slighly fancier histogram recipe
2015-11-01 13:03:52 -08:00
Dima Kogan
238a0c1943
version bump
2015-11-01 12:55:09 -08:00
Dima Kogan
42a8218fbe
removed unneeded if()
...
This looks like a large patch, but it's 99% re-indentation
2015-11-01 12:46:30 -08:00
Dima Kogan
4cfcf0fc35
removed threading stuff
...
It's now all in one thread with a select() loop. Much nicer
2015-11-01 12:44:55 -08:00
Dima Kogan
0e7f51f3f7
comment
2015-11-01 01:05:32 -08:00
Dima Kogan
01971c2434
whitespace
2015-11-01 01:02:51 -08:00
Dima Kogan
104accdd0d
More sophisticated handling of termination conditions
...
no --stream and no --exit:
When input exhausted, keep interactive plot up, keep shell busy until user ^C
no --stream and --exit:
When input exhausted, keep non-interactive plot up, make shell available
immediately
--stream and no --exit:
When input exhausted, keep interactive plot up, keep shell busy until user ^C.
A user ^C before the input is exhausted is blocked from killing
C<feedgnuplot>, but allows the data input process to be killed, so it looks
like an input exhaustion condition.
--stream and --exit:
When input exhausted or user ^C, shut down all plots, make shell available
immediately. A user ^C is respected immediately, and C<feedgnuplot> is killed
2015-11-01 01:02:51 -08:00
Dima Kogan
605158b391
replaced a 'say' with 'print'
2015-11-01 01:45:55 -07:00
Dima Kogan
0c32afacfd
fixed typo
2014-08-22 17:17:18 -07:00
Dima Kogan
1688496f34
an "exit" command now has effect even with triggered-only replotting
2014-05-28 02:34:39 -07:00
Dima Kogan
498047e785
version bump
2014-05-14 00:45:49 -07:00
Dima Kogan
72adba82f7
Declaring feedgnuplot as a package to pacify the MetaCPAN indexer
...
Hopefully this is sufficient. We'll see
https://github.com/dkogan/feedgnuplot/pull/16
https://github.com/CPAN-API/metacpan-web/issues/1148
https://github.com/CPAN-API/metacpan-web/issues/1170
https://github.com/CPAN-API/metacpan-web/issues/994
2014-05-14 00:43:13 -07:00
Corey Putkunz
539b2035d8
Fix for "Use of implicit split to @_ is deprecated at /d/home/coreyp/bin/feedgnuplot line 377"
2014-04-07 10:20:57 +08:00
Dima Kogan
9b3cbc13be
version bump
2014-02-06 23:17:29 -08:00
Dima Kogan
a65abc6095
fixed incorrect plotting of --timefmt --rangesize plots
2014-02-06 23:16:48 -08:00
Dima Kogan
5db86810b5
the rangesizes are now precomputed and easily assessed
2014-02-06 23:16:44 -08:00
Dima Kogan
d75b572875
version bump
2014-02-05 13:58:01 -08:00
Dima Kogan
4fd1c390ff
added --rangesize and --rangesizeall
...
--rangesizeall is a different way to express --extraValuesPerPoint. --rangesize
is per-curve however
2014-02-05 13:53:16 -08:00
Dima Kogan
4163e24956
Simplified data parsing.
...
Instead of complicated regexes, I now simply do splits and joins. This paves the
way for per-curve extraValuesPerPoint
2014-02-05 02:54:00 -08:00
Dima Kogan
13268a1fa8
fixed typo
2014-01-26 12:13:38 -08:00
Dima Kogan
08fa97fdb5
version bump
2014-01-25 20:51:45 -08:00
Dima Kogan
9387a85fe6
changelog bump
2014-01-24 15:48:06 -08:00
Dima Kogan
f38a00bfd1
docs now escape cmdline options with C<>
2014-01-24 15:47:34 -08:00
Dima Kogan
c21c4d7e70
added --style, --styleall
2014-01-24 15:31:37 -08:00
Dima Kogan
35901fe6d1
added --with
2014-01-24 15:19:03 -08:00
Dima Kogan
1e3d01edd2
comment
2014-01-24 14:41:49 -08:00
Dima Kogan
20e9adbae4
added "set" and "unset" options
2014-01-24 14:39:34 -08:00
Dima Kogan
2b2bba9ff3
Cleaned up some option-parsing logic
...
$options{y2} and $options{extracmds} now default to [], so I never need to check
for defined $options{y2}.
This patch also changes some
foreach()
{
dosomething();
}
blocks into
dosomething() foreach();
2014-01-24 14:31:54 -08:00
Dima Kogan
caea1285a9
minor version bump
2013-12-04 21:34:07 -08:00
Dima Kogan
adbc8393f5
fixed spelling error in POD
2013-12-04 02:34:01 -08:00
Dima Kogan
235de3d5d1
version bump
2013-12-04 02:01:19 -08:00
Dima Kogan
198122431f
first example now shows an ASCII plot
2013-12-04 00:11:43 -08:00
Dima Kogan
dd8bc8995d
version bump
2013-12-03 23:38:18 -08:00
Dima Kogan
1dad122cb9
changelog bump
2013-10-20 01:18:32 -07:00
Dima Kogan
ee6b339978
minor POD updates
2013-10-20 01:17:00 -07:00
Dima Kogan
d55e54c095
version bump
2013-10-20 00:14:22 -07:00
Dima Kogan
74e95d8e6f
If using --timefmt then --xlen MUST have an integer argument
...
I use strftime() and strptime() to deal with xlen in the timefmt case, and those
functions only work with integers
2013-10-19 23:37:17 -07:00
Dima Kogan
6f23f89c28
minor update to the timefmt doc
2013-10-19 22:52:55 -07:00
Dima Kogan
0863998848
streaming data now has an 'exit' command
2013-10-19 22:45:43 -07:00
Dima Kogan
ffd19b9b87
--hardcopy now handles piped output
...
If we tell gnuplot to plot to a file whose name starts with '|', gnuplot writes
to a a process, not to a file. This is now supported by feedgnuplot
2013-10-19 22:45:43 -07:00
Dima Kogan
669fb8dee6
'--stream --hardcopy' is now an error, not a warning
2013-10-19 22:45:43 -07:00
Dima Kogan
99369d1542
y2-axis curves no longer have a thicker line by default
...
This was causing an issue where gnuplot would complain if a points-only
--curvestyle was plotted on the y2 axis. This is because --linewidth makes no
sense for a points-only curve
2013-10-19 22:45:33 -07:00
Dima Kogan
f4976bd0f7
--circles explicitly not supported for 3d plots
2013-10-19 22:45:33 -07:00
Dima Kogan
acd6de507c
fixed doc reformatting typo
2013-10-19 22:45:33 -07:00
Dima Kogan
faaeac7990
made POD less verbose
2013-10-19 22:45:33 -07:00
Dima Kogan
1252315598
tweaked a recipe to use --timefmt
2013-10-18 13:38:52 -07:00
Dima Kogan
fad78b60b0
slightly improved --timefmt documentation
2013-09-20 23:13:55 -07:00
Dima Kogan
809442e2dc
reformatted docs. no content changes
2013-09-20 22:55:04 -07:00
Dima Kogan
f022590344
added timefmt documentation
2013-09-20 22:45:53 -07:00
Dima Kogan
c169330fca
timefmt plots now work with streaming and with --xlen
2013-09-20 22:06:18 -07:00
Dima Kogan
d76f163be4
even simpler data storage
...
The data for each curve is now stored as one big string that has ALL the data;
this string is easily sent to gnuplot at once. There's also a bit of attached
meta-data to allow streaming --xlen culling to work
2013-09-20 19:32:44 -07:00
Dima Kogan
386c5f6d41
slightly simpler raw data parsing. Hopefully a bit quicker.
2013-09-20 03:46:41 -07:00
Dima Kogan
720c332dd9
Simplified data storage
...
I'm no longer storing the options as the first data point. That was silly, and
things are now clearer
2013-09-20 02:41:26 -07:00
Dima Kogan
4e823e7de5
I no longer grab the gnuplot version if I don't need it
2013-09-20 00:31:25 -07:00
Dima Kogan
3badf920b6
explicitly fail if we try --stream --xlen --xmin
2013-09-19 15:51:02 -07:00
Dima Kogan
756d934058
Simplified use of %options. I now use the global instead of passing it down
2013-09-19 15:42:29 -07:00
Dima Kogan
b43c9b985f
added preliminary support for timefmt
2013-09-10 20:40:35 -07:00
Dima Kogan
2f5e9d95ca
adusted help message for --exit
2013-08-12 17:22:22 -07:00
Eric Schulte
08d2f79fba
added --exit option allowing feedgnuplot to return
2013-08-12 16:39:21 -06:00
Dima Kogan
ef2bff2af6
minor POD fixes, added some recipes
2013-06-27 13:15:49 -07:00
Dima Kogan
70b7c98124
better handling of non-timer-based replots
...
Previously I was ALWAYS replotting when triggered, ALWAYS replotting on a timer
and NEVER replotting on domain rollover with --monotonic.
I now have logic to do the right thing in all these cases. I now replot on
domain rollover, unless it's happening too quickly.
2013-06-15 01:33:00 -07:00
Dima Kogan
3146dbdfe7
cleared up --stream option logic
...
- minor refactoring
- --hardcopy and --stream together now generate a warning and turn off --stream
2013-06-15 01:33:00 -07:00
Dima Kogan
707196580a
I now always 'exit -1' on error
2013-06-15 01:33:00 -07:00
Dima Kogan
ef3272eb6d
minor documentation updates
2013-02-08 02:18:09 -08:00
Dima Kogan
28742230b6
main script now has the version
2013-02-08 02:18:09 -08:00
Dima Kogan
24a56fd617
usage message now goes to STDOUT if --help given
2013-02-08 02:18:09 -08:00
Dima Kogan
e8e92082a1
moved POD back into the main source file
...
Separating it made pod2usage not work
2013-02-08 02:18:09 -08:00
Dima Kogan
751d902844
resetting latestX when clearing out data due to --monotonic
...
--monotonic wasn't working correctly, since the x-variable wasn't being reset
when monotonicity was broken. fixed
2012-12-14 10:29:58 -08:00
Dima Kogan
6397548515
--curvestyle no longer adds on top of --curvestyleall
2012-09-29 14:52:05 -07:00
Dima Kogan
ba4cc66fe8
--extracmds no longer accepts comma-separated lists
...
This caused issues with commands that had commas in them
2012-09-24 17:44:40 -07:00
Dima Kogan
cb59f1b3bc
removed --size option
2012-09-03 08:28:51 -07:00
Dima Kogan
54f3751270
fixed regression to allow no given extracmds, histogram or y2 options
2012-09-02 23:49:40 -07:00
Dima Kogan
d28ef06cff
documentation correction
2012-08-31 11:19:48 -07:00
Dima Kogan
0ddc0bd0bd
updated copyright dates
2012-08-31 11:19:48 -07:00
Dima Kogan
83379b0280
renamed POD file. README.pod is now a symlink
2012-08-31 11:19:48 -07:00
Dima Kogan
aa690c92e4
removed the POD from the script. Its main home is now in feedgnuplot.POD
2012-08-31 11:13:29 -07:00
Dima Kogan
f4859ae475
--extracmds, --histogram, --y2 can now take comma-separated lists
2012-08-31 01:24:49 -07:00
Dima Kogan
69c635103a
generic terminals can now be requested
2012-08-31 01:05:58 -07:00
Dima Kogan
8952973ba2
added histogram support
2012-08-31 00:51:08 -07:00
Dima Kogan
e14b57b6ad
no longer hardcoding 'x11' as the default terminal
2012-07-24 17:38:22 -07:00
Dima Kogan
e30f0c792e
added --geometry option to specify plot dimensions
2012-02-11 20:48:22 -08:00
Dima Kogan
7559ed5f66
data-ids can now include characters such as -. Any non-whitespace works
2011-12-27 16:46:30 -08:00
Dima Kogan
41f615c7c8
slighly changed the top-level description
2011-11-20 19:17:10 -08:00
Dima Kogan
d7078759e2
POD: removed -Winteractive, since this was apparently a mawk-ism
...
Example now explicitly specifies gawk, not mawk
2011-11-12 01:29:03 -08:00
Dima Kogan
7834e03df6
corrected imperfect awk flushing in POD example
2011-11-11 00:06:36 -08:00
Dima Kogan
ba8357865a
version number now comes from the debian/changelog
2011-10-16 11:46:22 -07:00
Dima Kogan
0fac942acf
renamed main script feedGnuplot -> feedgnuplot
2011-10-16 11:25:22 -07:00
Dima Kogan
d9c1f07c18
fixed small documentation error
2011-09-20 14:49:49 -07:00
Dima Kogan
59eabc70f5
Corrected documentation.
...
At one point I changed the --legend syntax, but didn't update ALL the docs. This
fixes it
2011-05-31 10:58:45 -07:00
Dima Kogan
13ffda5991
new email address
2011-05-30 20:21:07 -07:00
Dima Kogan
86051461ad
simplified some string generation to take more advantage of interpolation
2011-05-27 12:43:36 -07:00
Dima Kogan
d0dcad621a
version bump
2011-05-22 15:31:16 -07:00
Dima Kogan
19449a7822
documented command strings
2011-05-22 15:22:08 -07:00
Dima Kogan
70f508ece6
added 'clear' string to allow the data to purge itself
2011-05-22 15:21:56 -07:00
Dima Kogan
de242bad32
renamed "xy" to "curve"
2011-05-22 15:16:33 -07:00
Dima Kogan
339c2f9a3d
moved monotonicity checking into an outer loop
2011-05-22 15:15:37 -07:00
Dima Kogan
b6cc2579c4
removed unused variable
2011-05-22 15:05:08 -07:00
Dima Kogan
bbbbf36123
removed redundant code
2011-05-22 14:59:29 -07:00
Dima Kogan
38312c6439
--xlen now implies --monotonic, but ! --xlen does NOT mean ! --monotonic
2011-05-21 00:43:58 -07:00
Dima Kogan
07d6737dcd
fixed typo
2011-04-26 14:27:21 -07:00
Dima Kogan
c293015b3d
version bump
2011-04-26 14:25:23 -07:00
Dima Kogan
f5c1e79ddc
Real-time streaming plots now have an adjustable refresh rate, in addition to
...
data-triggered replotting
2011-04-26 14:21:34 -07:00
Dima Kogan
5d7701fb94
renamed plotThread -> plotUpdateThread
2011-04-26 13:42:54 -07:00
Dima Kogan
635f0fc7ee
If we're dumping out the raw gnuplot commands, do not sleep at the end
2011-04-20 15:26:38 -07:00
Dima Kogan
a7d0a926e4
version bump
2011-04-19 11:04:07 -07:00
Dima Kogan
a41a64457f
--legend and --curvestyle now use ' ' as a separator instead of '='.
...
For example to set a legend for curve 'data' to 'datalegend' I now do
--legend data datalegend
The previous syntax that used = produced hashes internally, which disregarded
the order of the given options. This resulted in arbitrarily ordered curves.
2011-04-16 01:49:43 -07:00
Dima Kogan
50d384f956
version bump
2011-04-09 14:11:15 -07:00
Dima Kogan
4591324ccf
running with --help now returns 0
2011-04-09 14:09:51 -07:00
Dima Kogan
c7c7c3f216
version bump
2011-04-09 14:06:27 -07:00
Dima Kogan
09e38021bf
The POD now contains all the cmdline options. --help reads those.
2011-04-09 14:02:40 -07:00
Dima Kogan
bcbfde1af1
--legend and --curvestyle cmdline options now reference specific curves
2011-04-09 13:47:17 -07:00
Dima Kogan
1e1d878d67
Curve legends explicitly give override --autolegend
2011-04-09 13:41:49 -07:00
Dima Kogan
074e2aa2e8
version bump
2011-04-03 17:26:22 -07:00
Dima Kogan
009d4bea5f
Square aspect ratio now works in 3d plots. 3D plots also have --square_xy option to square the
...
aspect ratio ONLY for the xy axes, allowing z to scale as needed
2011-04-03 17:16:00 -07:00
Dima Kogan
ba4267c667
minor corrections to POD
2011-03-14 23:45:45 -07:00
Dima Kogan
064f522097
streaming plots no longer go away once the input pipe goes away
2011-02-26 12:46:34 -08:00
Dima Kogan
cf57de689f
fixed typo in the POD
2011-02-20 01:26:52 -08:00
Dima Kogan
699554681a
version bump, changelog update
2011-02-06 15:57:07 -08:00
Dima Kogan
71692dd1b7
Modified old-data-pruning function to use List::Util instead of
...
List::MoreUtils. This now lets the script work with a stock install of perl
without anything extra from CPAN
2011-02-06 15:53:53 -08:00
Dima Kogan
85b33dffc7
whitespace
2011-02-06 15:51:18 -08:00
Dima Kogan
8b8c8a28e4
--xlen now implies --monotonic. Since --xlen assumes an ordering on the data,
...
odd behavior will now be avoided
2011-02-06 15:35:26 -08:00
Dima Kogan
ce66c836f0
--xlen now MUST be used with --stream. There was no error before, but it still
...
didn't make any conceptual sense
2011-02-06 15:34:46 -08:00
Dima Kogan
fffc156a09
documented another method of generating a self-plotting data file
2011-02-04 20:42:22 -08:00
Dima Kogan
17beddeb9e
version bump
2011-02-04 20:31:08 -08:00
Dima Kogan
61ff77f9f4
I now enforce a threaded perl during testing, not during execution. This should pacify cpantesters
2011-02-04 20:30:19 -08:00
Dima Kogan
82207174ea
I want to work with perl 5.8, so print instead of say
2011-02-03 14:15:10 -08:00
Dima Kogan
45ef72dc5b
version bump
2011-02-03 13:51:33 -08:00
Dima Kogan
1b3fdaa96e
I fail out if my perl isn't threaded. This makes me pass cpan testers' tests
2011-02-03 13:50:46 -08:00
Dima Kogan
290e1eab5a
version bump
2011-01-31 12:22:22 -08:00
Dima Kogan
25cc8277c9
Corrected bug where I am no longer clobbering ALL of my commandline options
2011-01-31 12:22:06 -08:00
Dima Kogan
a37a8a0d4d
removed useless subroutine return
2011-01-31 12:21:35 -08:00
Dima Kogan
ca62f90651
another version bump. I forgot to rebase
2011-01-29 20:13:25 -08:00
Dima Kogan
fbeae0f191
version bump
2011-01-29 20:06:27 -08:00
Dima Kogan
38265747c5
whitespace
2011-01-29 20:06:27 -08:00
Dima Kogan
d9d99d3c34
Gnuplot-version-functionality into a subroutine. I now do this AFTER
...
parsing the commandline to allow the script to pass CPAN tests on
machines without gnuplot installed
2011-01-29 20:06:26 -08:00
Dima Kogan
8f365d0521
ALWAYS complain if I couldn't run gnuplot
2011-01-29 20:06:26 -08:00
Dima Kogan
b7a37bd622
moved commandline processing into a subroutine
2011-01-29 20:06:26 -08:00
Dima Kogan
e5d4f1401b
using 'or' instead of '||' in some error checking
2011-01-29 20:06:26 -08:00
Dima Kogan
6d8dfe578a
I print out the usage ONLY if requested with --help
2011-01-29 20:06:26 -08:00
Dima Kogan
58105b064d
better 'number' regexp
2011-01-28 14:28:51 -08:00