Commit Graph

44 Commits

Author SHA1 Message Date
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
Dima Kogan
855a0d5583 drivegnuplot: style on the cmdline
Ignore-this: 6b20c61ec03965d0a090ee8f2475b45b

darcs-hash:20090209093519-0cb85-bdcbd0698f84ea6830931bf4c0cc314a2bde9824.gz
2009-12-19 20:50:31 -08:00
Dima Kogan
bb9a00994c drivegnuplots: only output the header if we've data for this data set
Ignore-this: effce8f31a4e9d8272927ed9faaf92c1

darcs-hash:20090204213924-0cb85-17f735f088325e37142d41dd987212c90e343950.gz
2009-12-19 20:50:31 -08:00
Dima Kogan
6d2c3ccd0b drivegnuplots: tabs->spaces. whitespace modifications only
Ignore-this: 8f3c72e2b8ce91f6eb13d7c6db6e38f2

darcs-hash:20090204212203-0cb85-8f340682a9daae2825be0b6a3dc743e5434b13f9.gz
2009-12-19 20:50:31 -08:00
Dima Kogan
cc96aac692 realtime gnuplot driver: one window, multiple plots
darcs-hash:20090124005657-0cb85-b53c7089a73ae521f3417e1871d68f31bcb78f7b.gz
2009-12-19 20:50:31 -08:00
Dima Kogan
704c3f1607 added realtime gnuplot script from
http://users.softlab.ece.ntua.gr/~ttsiod/gnuplotStreaming.html
2009-12-19 20:46:06 -08:00