Re: Visualisation applications and Octave.

Teemu Ikonen <[email protected]> Thu, 10 Jun 2004 17:22:46 +0300
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
On 10/06/04 12:03, Petr Mikulik wrote:
> > > What kind of strangeness are you experiencing in 4.0?  I've not run 4.0
> > > from any of the binaries, but the CVS version seems to run fine with 4.0.
> > The bugs were only present in my new gnuplot interface, which is not in the
> > CVS (yet). Mostly the problem is that I could not get the mouse to work.
[...]
> Maybe you mean the following FAQ, http://www.gnuplot.info/faq/faq.html:
> 
> 5.6 Mouse in my interactive terminal does not work
[...]
> If your gnuplot is running as the plotting engine of Octave under X11, then
> please put gset mouse into your $HOME/.octaverc. According to gnuplot's help
> x11, gnuplot under x11 running through a pipe needs set mouse to be executed
> before launching the x11 plot window.

Thanks for this information, it lead me to discover the bug in my code. The
problem was that a "set term x11" command was issued to gnuplot when the the
external plotter pipe was first initialized. This lead to gnuplot_x11 being
launched before mouse settings could be altered, and so it was started
with the "-noevents" option, which seems to be the default for piped IO.

Since there seems to some interest in this patch, I'm currently trying to
compile a version of Octave with gnuplot commands moved completely from
the parser and lexer to an external .oct-file. I'll post the patch later
today or tomorrow if I succeed.

Teemu