bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Plotutils `graph': realtime, multiple plots?


From: Dustin Lang
Subject: Plotutils `graph': realtime, multiple plots?
Date: Fri, 11 Jan 2002 09:40:20 -0800 (PST)

Hi,

I'm writing a program that automates a data collection process.  Since
collecting a data set takes several minutes, I'd like to plot points as
soon as they are available.  There will typically be several (say
3) "y" variables and one "x".

I was thinking that it might be possible to create a named pipe for each
"y" variable and then specify these pipes on the `graph' command line, but
this doesn't give realtime performance because the files (pipes) are read
in sequence, not simultaneously.

Beyond hacking the `graph' code, or adapting it to my application - which
I'd rather not do - I'm a bit stuck.  Any suggestions on alternate ways to
proceed?

If it comes to hacking the code, any ideas whether it will be easier to
allow concurrent realtime reads from multiple files, or to add a feature
like the one that allows one to switch linemodes (with a line like
"#m=5" in the data stream) but that switches datasets...

Cheers,
dustin.


----------------------------------------------------
--     Dustin Lang, address@hidden    --
User, n.: a particularly  slow and unreliable input/
output  device  that  is  attached by default to the
standard input and output streams.
----------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]