Commit Graph

67 Commits

Author SHA1 Message Date
Dima Kogan
ce4927e24d a number in scientific notation can have an explicitly positive exponent 2010-03-02 17:13:12 -08:00
Dima Kogan
3cddac38fe slightly better README 2010-02-17 21:34:51 -08:00
Dima Kogan
0ae4fa9a21 Updated README to describe the new --xlen behavior 2010-02-11 16:06:40 -08:00
Dima Kogan
b0dc4fdd86 when streaming, xlen==0 ---> plot ALL the data, not just what is in a window 2010-02-11 14:14:57 -08:00
Dima Kogan
da4dd9bd43 improved --help message slightly 2010-02-05 14:33:46 -08:00
Dima Kogan
68843f226e extra logic to correctly parse options given with a #! in a self-plotting data file 2010-02-05 12:05:52 -08:00
Dima Kogan
59da3af4b0 added note to the README about the original version 2010-01-25 21:35:26 -08:00
Dima Kogan
7580ea0656 bumped up the default maxcurves setting 2010-01-14 15:09:33 -08:00
Dima Kogan
5e44f777fb Allow to specify a limit on the number of curves. 2010-01-14 14:45:24 -08:00
Dima Kogan
c6ee73f97f spaced out the --help message 2010-01-14 14:34:58 -08:00
Dima Kogan
6b169e03a8 Now reading the version of gnuplot on the system, and not using --persist on versions of gnuplot too
old to support it.
2010-01-12 21:54:49 -08:00
Dima Kogan
7c9c9b82be initial commit of the README 2010-01-12 21:39:02 -08:00
Dima Kogan
a69b2d6d4f renamed script to feedGnuplot.pl 2010-01-11 21:56:09 -08:00
Dima Kogan
8d38a2c053 skip all lines that start with '#'. Now I can have self-plotting data files using #! 2010-01-10 23:46:53 -08:00
Dima Kogan
e16af8103a clarified comment 2010-01-10 23:45:41 -08:00
Dima Kogan
0d689edbf9 reworked hardcopy output. No longer writing to a tmp file first
Ignore-this: 6bcb476652cd7d3f532fe5326ff18fca

darcs-hash:20091220031411-0cb85-4749f31184e76afb16dc974a93d1214febbb9da3.gz
2009-12-19 23:35:41 -08:00
Dima Kogan
c92e011de0 do not stream by default
Ignore-this: f8099a01a733f1a660236e26b0897568

darcs-hash:20091218204815-0cb85-a3bc77724d36c755ebfaa61c5cf53c5b3bfe4f28.gz
2009-12-19 23:35:35 -08:00
Dima Kogan
598a912fbf driveGnuPlots.pl now has --domain and --dataindex options. These make driveGnuPlots_simple.pl
Ignore-this: 2b8de7b779d6896168a5771d54d56568
obsolete, since it's now a special case of driveGnuPlots.pl

darcs-hash:20091206224944-0cb85-dc8089f2146c401ef51bb86a2d507b9e85421a5a.gz
2009-12-19 23:35:20 -08:00
Dima Kogan
0a57f3b2fc reindented, fixed up usage comment
Ignore-this: 1e28fffd7e4f8297adc7ae12ab39ede5

darcs-hash:20091206222203-0cb85-df50944ed972d35e771b5be2a13fdd3b66d2f0f0.gz
2009-12-19 23:35:11 -08:00
Dima Kogan
153045d95a don't need to autoflush STDOUT since I'm not using it
Ignore-this: 2a146ee2c7f2d31b301b8dbbc9afdcb1

darcs-hash:20091206222051-0cb85-f1b9ce050557a2b9b6797b8a3ece9386972a405e.gz
2009-12-19 23:35:06 -08:00
Dima Kogan
09b11a81f7 moved the @curves declaration further down, closer to where it is used
Ignore-this: f51fd22e3519c6dae6020e3721d70df8

darcs-hash:20091206222027-0cb85-0668ea7d622ba67d9cd78bebfdbcd37f11cae5f0.gz
2009-12-19 23:35:02 -08:00
Dima Kogan
d6e1dc5643 usage is now at the front, not at the end of the file
Ignore-this: 86899869bed3fd0c62b04f86f2ee7943

darcs-hash:20091206204850-0cb85-8fd04b4dce799512f1b6f0223e063846fdc4e6c8.gz
2009-12-19 23:34:58 -08:00
Dima Kogan
772f07d3c7 minor fixes to the hardcopy output code 2009-12-19 23:34:53 -08:00
Dima Kogan
e028ed2d40 drivegnuplots: don't overwrite previous data-to-plot
Ignore-this: 4f401c72bf7e92ee4877955ba301d49b

darcs-hash:20091121055641-0cb85-415016115f3beb233730cd79fa8b1b78bc87ff7e.gz
2009-12-19 23:34:22 -08:00
Dima Kogan
0a2226594a fixed a bug in the drivegnuplot scripts. when a new curve is added, they now make sure to add all
the curves leading up to those. So if I'm trying to create curve 5, it'll create 0,1,2,3,4 if they
aren't there
2009-12-19 23:34:07 -08:00
Dima Kogan
8834e11a87 when streaming, don't plot unless there's new data
Ignore-this: ad73a697f4fdff7f269321aab8ea78f9

darcs-hash:20091206225531-0cb85-8951ac75504fb61c7ee2e9c7b20fae76f8fe4196.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
d4ddf5f001 compile the "number" regext only once
Ignore-this: a47b92945ee7391597dfd931e9367a66

darcs-hash:20091206222321-0cb85-97e4afd4ee0df75d54147a661a76a2fe097e9a8c.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
59fdc08dc6 when grabbing data either from the thread-safe queue or from <>, I should be using //, not ||
Ignore-this: 853ee4746850b2da83006e06ea4dc82b

darcs-hash:20091206222252-0cb85-cbe476e37cd152cf1952356df6534ab4fd2a4e3d.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
747d620b48 fixed use os ymin/ymax cmdline args. Added xmin/xmax args
Ignore-this: 88c1704b78df6082baf4e6249f3b6cd3

darcs-hash:20091203192233-0cb85-9c624b26e1af5ad7ae07be83f0f19057692114f4.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
aed7b353ea driveGnuPlots can dump its output to stdout for debugging
Ignore-this: 209901071caa48bd58c68edd1fae9eaf

darcs-hash:20090915232513-0cb85-1fe5f99c0825a0ecb48f554b266717140a0f1a36.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
3e6fabaf97 fix handling of empty curves
Ignore-this: b898c03e4df23a2d9c6c5fad7065aff4

darcs-hash:20090915194423-0cb85-e00bbfe44ec500ed844e2275571a9170bcd5e4aa.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
33f62a8438 only set X11 terminal if we're not making a hardcopy
Ignore-this: 72ff2e9c96debe696944ad584eec32fd

darcs-hash:20090915191359-0cb85-21cb3091eedfb7c69818028340b89f050e4fea7e.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
5bf3b09d0c driveGnuPlots.pl speedups. Removed the threadqueue in !streaming, rearranged data
Ignore-this: 66c1ef6d9b45a1bd3db49c3696a2b309

darcs-hash:20090910221151-0cb85-becf9bad1e4c07e1c60c8b8c7517d36986076d0f.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
278f0d8fd5 need to declare $xwindow even if not using it
Ignore-this: 7770b65e421e705e4661a29d04eaeee9

darcs-hash:20090908183559-0cb85-f5bd8c607bbb61977d06ab6530c2ef8cf07c2593.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
95a9a1db91 do not require xlen if !streaming
Ignore-this: 41377b9f3e94ad852e88f14e678e30d3

darcs-hash:20090908183244-0cb85-a38c1b999cf6e86ea54eb41573921df9b0875132.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
ed83f99a65 xlen is floating point. It's not the number of points anymore
Ignore-this: bc98aeef65fa61ec7d2dba925150a899

darcs-hash:20090908183222-0cb85-b32209e91a32d3b2da82b7c026ba51095c002d9e.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
a66cbbf424 no y2 tics if not needed. other script
Ignore-this: 7da813657e0093494b2428919c94f393

darcs-hash:20090908181744-0cb85-73f5f460de655559c8d1ef503a20e869d400ec72.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
c3f314cf9e don't stream if we're making a hardcopy
Ignore-this: a9e258fa2c0e80219170f5e11970bc75

darcs-hash:20090902192745-0cb85-5962b13536b4f78da9080c2084b1715a6db86ab8.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
5bf6539a9a don't try to plot if we have no data
Ignore-this: 808c5f30dd3fabc33d6980dce972794

darcs-hash:20090827203223-0cb85-2e0d29077c97f12711a1899f0ae9086860a56da4.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
d7fd9db356 persistence for nostream
Ignore-this: 8d8ed631ca050aa138ec640db05a84ef

darcs-hash:20090827202308-0cb85-76575e918f2b3d47023c155ee2b2dea89d1526de.gz
2009-12-19 21:07:27 -08:00
Dima Kogan
ff04048382 better handling of streaming and non-streaming plotting
Ignore-this: f7cbc85b0382a4810db13d01e65f4bd5

darcs-hash:20090827173055-0cb85-aec6122e4405eb8a1f9d5bd61bf683c47837cba0.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
3d5760a361 don't bother with the plot thread if we're not streaming
Ignore-this: d748c070654b61db45e27490428df154

darcs-hash:20090827170849-0cb85-e6e0499441f19560a8f6fbf10fadd5060f659a03.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
07a13f7977 gnuplot driver limited to replotting at 1fps
Ignore-this: 2ce7b4bcffd97e593b34693ddab54147

darcs-hash:20090824213142-0cb85-3301d931b63db020724e83e3bd14b3b58d99a712.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
13d6528473 don't try to plot empty curves
Ignore-this: 8595770256deec271d0a7715a0e1ed14

darcs-hash:20090811211124-0cb85-8e26b73e0bb0071e246d2fe80512203c1152ac1f.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
0dab1a0ec0 gnuplot driver more efficient. while,shift -> firstidx,splice
Ignore-this: 78741ffed855a5122e14486000af4154

darcs-hash:20090811181852-0cb85-ca6a28ee8151f7c8671c0d69dce8f29ed481fe4f.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
78b6147d86 gnuplot driver can now use the x coord
Ignore-this: 319d354c62ed4d1dbc2da0f77a712356

darcs-hash:20090811085438-0cb85-c3852704104f38d56708cf25d442edec38c3174c.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
43711c90f9 STDOUT now sensibly autoflushing also
Ignore-this: 6dcd91878412e54d72fa3180cf437cc5

darcs-hash:20090811073025-0cb85-b6b9de7ca32ba0574fcabaf63490a1c3e77c8135.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
bcea7fb24b autoflush in a more sane way
Ignore-this: 8fc465e6dc0e7cb69d263897dbb36a48

darcs-hash:20090811070912-0cb85-2d06faa276311483cb21f8ed965f59ea486f215f.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
7a3ca33118 y extents are optional
Ignore-this: 809894afece147f868685c0bbeaac9f5

darcs-hash:20090810200439-0cb85-a14ece790280871a4ff71949502d1c9ae0548232.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
1d33ed48bb number of streams now dynamically parsed
Ignore-this: 6c27c400e38c516d9cddc6d19630916e

darcs-hash:20090810195749-0cb85-3b7edfccd8d0175b4f2eba7e24187d3ea9678115.gz
2009-12-19 21:07:26 -08:00