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
Dima Kogan
de3a72fd36
forgot "points" in the GetOpt list
...
Ignore-this: 5cbfb04372e86b2bc9d557d743d67976
darcs-hash:20090810195421-0cb85-78da4571d3bcbe6ad5ce78196db5a20f4e1951e8.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
514203f76c
forgot to add GetOpt options for the y extents
...
Ignore-this: 138384ef08603a6d473975dbc697806e
darcs-hash:20090810194248-0cb85-5bbcc14d6464b27c6b794883212ea7841d97a1e5.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
2d55fa6f30
y-range specified with options instead of hard-coded cmdline positions
...
Ignore-this: 956b97272172f6adbe785cb62fd6ad0a
darcs-hash:20090810181416-0cb85-eb9e872523d96a51e33c174a995df684659cdd8a.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
144a2f1a01
no ytics on the y2 axis
...
Ignore-this: dc7f313671e10d17c1fe8a3a37e00ef9
darcs-hash:20090806190946-0cb85-d196a97f2c7801aa6ffc6c9a1b0adcd59f372928.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
37667ddec3
gnuplot driver can parse scientific notation
...
Ignore-this: 9c3fa6a5d1974f806ff6cd587c3af5b5
darcs-hash:20090806185938-0cb85-0d54fd39632f145019e923dc9123bc297bbf37fd.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
a8bb73ec90
driveGnuplot can make hardcopies
...
Ignore-this: 977b3fbc29030371c121450c8095f7ef
darcs-hash:20090804230357-0cb85-2fb14bffc9b4f35a82e03a89c4b465b35f93e7d7.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
dec8b6cac6
thicker lines for y2 plots
...
Ignore-this: 5b2e5aabe42c4324fd60de747874cefd
darcs-hash:20090804213611-0cb85-fdbb83b21fbf16161ee5392a1add972982868fbe.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
c77a8c0a43
allow line-only plots
...
Ignore-this: 59483d197ae73a0c307ca726d2d96dc3
darcs-hash:20090804205717-0cb85-998aa3e993c9063debbf5235c0d059419b695101.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
041bdad232
gnuplot supports plots on the y2 axis
...
Ignore-this: a18a086b3edf54e33749d3b73243c829
darcs-hash:20090804205010-0cb85-db350da2ced0dd006a7326472bb748e16cbbd658.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
d61b9bc2ff
gnuplot drive now has options for labels
...
Ignore-this: cd66572ad6410084fe5928187edab99
darcs-hash:20090804173713-0cb85-df03115d7fb93fac9532c3180b740eaec8e1a6ea.gz
2009-12-19 21:07:26 -08:00
Dima Kogan
d03c5624ce
driveGnuPlots: more complete usage message
...
Ignore-this: e0821e2a1c464718be811a958d1f11ba
darcs-hash:20090306214632-0cb85-ecd795be11554b1669f23ef2e72bf21e35ee0297.gz
2009-12-19 20:50:31 -08:00
Dima Kogan
44c2d22c59
rehauled drivegnuplot, support all-at-once plotting as a cmdline option
...
Ignore-this: 77ef24b11e28017f77c9a2015701d73c
darcs-hash:20090209111726-0cb85-ac339192253c86d402a4486152ee3f9babcf5bcf.gz
2009-12-19 20:50:31 -08:00