Hello

This is a record from my experience about ginput.

If you have installed the octave-forge plot package, the function ginput does 
not work because the
plot package also has ginput.m and made conflict with ginput octave itself.

Please rename  
.....\Octave\3.2.4_gcc-4.4.0\share\octave\packages\plot-1.0.7\ginput.m like
ginput.xx.m.

For old PC, response of ginput might be slow. (might take several seconds to 
respond).
This is due to the pipe handling on windows being not optimized.
To overcome the slowness, the same technique to improve plot speed proposed by 
Olli Saarela can be
used.

Please refer
http://n4.nabble.com/Plotting-with-3-2-0-on-Windows-is-SLOOOOOOWWWW-td1637250.html#a1637250

For ginput case, please add 

 sleep(0.05);

at  ...\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\__gnuplot_ginput__.m
in line 112.

In the patch style
**************************** 
--- __gnuplot_ginput__.m.orig   2010-03-25 03:52:20 +0900 
+++ __gnuplot_ginput__.m        2010-03-27 17:11:29 +0900 
@@ -109,6 +109,7 @@ 
  
        str = {}; 
        while (isempty (str)) 
+         sleep(0.05); 
          str = char (fread (istream)'); 
          if (! isempty (str)) 
            str = regexp (str, 'OCTAVE:\s+[\d.\+-]+\s+[\d.\+-]+\s+\d*', 
'match'); 
*********************************** 

The realized immediate response for ginput even for my old PC (celeron-M 
1.2GHz, Memory 512Mbytes.)!!.

Regards

Tatsuro

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to