newbie question: using Python to coordinate C++ program and use gnuplot

brueckd at tbye.com brueckd at tbye.com
Thu Aug 16 11:19:35 EDT 2001


On Sun, 12 Aug 2001, Eduardo Zea wrote:

> 2) A python program that opens gnuplot in a new terminal, and sends to
> it a comand like "plot output.txt". And re-issues this command each time
> it updates output.txt, so that gnuplot displays the data as it is being
> produced by the program.

Hi Eduardo,
Have you tried Gnuplot.py yet? (It's the first link that shows up when you
search on Google for 'python gnuplot'). Anyway, it's _very_ easy to use
and works great. While you're on sourceforge downloading Gnuplot.py, also
go get Numerical Python if you don't have it already as Gnuplot.py needs
it.

-Dave





More information about the Python-list mailing list