|
From: Hans-Bernhard B. <br...@ph...> - 2005-02-04 14:06:43
|
Eric Hudson wrote:
> Can gnuplot be used to generate real-time graphs?
Only for some subset of the various meaning that term has been given, by
various people, over time.
> I have an ADC that sends its acquired data to a database. I am then
> wanting to send that data to gnuplot to generate graphs as it
> receives the data.
This won't work. Gnuplot never "receives" data (i.e. it doesn't have
any way to push data into a running session). It "requests" data, if
and when you give it a {|s|re}plot command.
So the "receiving" will have to be done by some other program, which can
then remote-control an instance of gnuplot through a command pipe,
sending it "replot" commands or complete new plot commands every once in
a while.
|