help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ginput with Octave 3.2 is SLOOOOOOWWWW on Windows


From: Tatsuro MATSUOKA
Subject: Re: ginput with Octave 3.2 is SLOOOOOOWWWW on Windows
Date: Thu, 18 Feb 2010 19:55:11 +0900 (JST)

Hello


--- Matthias Brennwald <address@hidden> wrote:

> On Feb 18, 2010, at 11:10 AM, Tatsuro MATSUOKA wrote:
> 
> > Therefore I add sleep(0.05) in the __gnuplot_ginput__.m as
> > 
> > --- __gnuplot_ginput__.m.orig   2010-02-17 15:02:52 +0900
> > +++ __gnuplot_ginput__.m        2010-02-18 19:08:28 +0900
> > @@ -76,7 +76,7 @@
> >     k = 0;
> >     while (true)
> >       k++;
> > -
> > +      sleep(0.05); # sleep a moment is required for windows
> >       ## Notes: MOUSE_* can be undefined if user closes gnuplot by "q"
> >       ## or Alt-F4. Further, this abrupt close also requires the leading
> >       ## "\n" on the next line.
> > 
> > The above makes ginput respond as expected.
> > 
> > Regards
> > 
> > Tatsuro
> 
> Thanks! Can you send me your modified file(s) so that I can replace the 
> original files with your
> modified files? I usually mess up if I try to apply changes as shown above...

You can do it by yourself edit
.........\Octave\3.2.3_gcc4.4.0\share\octave\3.2.3\m\plot\__gnuplot_ginput__.m
by a text editor. 
Only add one line,
      sleep(0.05); # sleep a moment is required for windows
to the corresponding part.

Anyway I will send modified script by the private mail.

Regards

Tatsuro

--------------------------------------
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/olympic/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]