On Mon, Jul 02, 2007 at 12:07:05PM -0300, Matías Graña wrote: > Hi; I'm doing some easy 3D plotting these days and I've come to this > situation. I just need to plot a few dots in 3D-space. I've been using > gnuplot for this, as it allows to rotate the picture with the mouse, > giving a good impression of where the dots actually are. > So far so good, but now I want it to interact with the python code I use > to compute the position of the dots. There's gnuplot-py for this, but it > seems to have the problem that once it launches a window, gnuplot does > not listen to mouse clickings on it. So I can tell my python program to > draw the dots, but then I can't rotate them as I could within a gnuplot > session. > > So, I'm looking to either > a) a way to have an interaction between gnuplot and python, or > b) another program/library that can be launched from python and able to > plot 3D dots and rotate them with the mouse. > > Any insight or advice is welcome. > > Thanks, > Matías
[two answers here] Thanks for the answers! Nope: 'm' doesn't do anything on gnuplot window, at least in my case. Clutter seems promising, but for the time being it is much more than what I need. So far, I resorted to communicating with gnuplot via popen. It seems to work fine. Matías -- [EMAIL PROTECTED] mailing list
