[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem while using waitforbuttonpress function
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Problem while using waitforbuttonpress function |
Date: |
Sat, 5 Jun 2010 20:52:43 +0900 (JST) |
Hello
--- Giox79 wrote:
>
> Thanks for your help.
> I checked the suggested link, and I tried installing Octave in a different
> PC (Windows XP, Octave 3.2.4, BUT WITHOUT ANY OCTAVE FORGE PACKAGE) and I
> have the same problem,
>
> A=waitforbuttonpress()
>
> doesn't react.
>
> Then I installed Octave 3.2 on Ubuntu 9, and over there everything works
> fine: as soon as I press a key in the window generated by the Przemek
> Klosowski.
>
> figure()
>
> command, the
>
> A=waitforbuttonpress();
I have confirmed
octave:18> figure
octave:19> a=waitforbuttonpress()
does not react,
On octave on the cygwin it works as expected
However,
octave:19> fplot ("cos", [0, 2*pi])
octave:20> a=waitforbuttonpress()
a = 0
octave:21> a=waitforbuttonpress()
a = 1
works as expected.
I cannot figure out the reason the above but something may be different in
gnuplot response between
x11 and windows.
BTW, did you try a=ginput(1) on octave for windows with graph plotted (not
figure() after figure)?
Does the a=ginput(1) react immediately?
If not, please try
http://old.nabble.com/ginput-on-Octave-3.2.4-mingw32-to28093888.html
(You may alreay read the above.)
Regards
Tatsuro
--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/