469,950 Members | 2,334 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

gnuplot stdout & python question

I've posted this question to comp.graphics.apps.gnuplot too but given that
this python group may also comprise a lot of gnuplot users, and is far more
active, I've posted this question here too. My apologies to those who read
this twice. I posted to cgag before I decided to post here with a more
meaningful subject.
Anyone had any success getting stdout from gnuplot on an ms windows system
(XP)? I'm trying to read mouse coordinates using python. This link shows a
basic mechanism implemented in python.


It is similar to the gnuplot.py code which I understand is unidirectional
only ie. send commands to gnuplot via gnuplot stdin. My hope is that I can
implement the bidirectional interface in gnuplot.py and give it away to
whoever might find it useful. But first, I gotta get it working.

I can't seem to get anything back to a python shell by this method. Hangs in
the function thats supposed to read stdout. Could be something I'm doing
wrong with python but I rather suspect there is something in the way gnuplot
on windows deals with stdout that I'm not understanding.

btw - I'm using gnuplot 4.1 (Oct 10 cvs build), python 2.3

Oct 21 '05 #1
0 1683

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Richard | last post: by
4 posts views Thread by Rama Calaga | last post: by
1 post views Thread by Nicola Kaiser | last post: by
5 posts views Thread by Anton81 | last post: by
reply views Thread by Santix | last post: by
reply views Thread by matthew43 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.