From: Andreas T. <ti...@rk...> - 2002-09-16 15:09:32
|
On Tue, 10 Sep 2002, Michael Haggerty wrote: > What about having gnuplot write the output to a temporary file and > then read the file? If you are under Unix, you could even have > gnuplot write the output to a fifo (named pipe) and read it directly > into your program. I fiddled around something with mkfifo but failed to read it correctly. Seems there is some magic to do with threads or someting else because reading from the pipe fails completely. > I don't think there is a way to get at the string any other way. One > could change Gnuplot.py to read gnuplot's standard output, but I'm not > sure that output would only have the pure graphics. If you want to > pursue this, you would probably want to do it by providing your own > substitute GnuplotProcess object. Any hint how to do that? Kind regards Andreas. |