[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem while using waitforbuttonpress function
From: |
Giox79 |
Subject: |
Re: Problem while using waitforbuttonpress function |
Date: |
Sat, 5 Jun 2010 08:40:49 -0700 (PDT) |
Hi Tatsuro,
I tried the command:
figure();
followed by
[x,y,r]= ginput(1)
it works!
Through it I can "discriminate" if a mouse or a keyboard event happened.
I was sure that ginput was ok only for mouse events, but the r parameter
tell me what happens in detail (as I expected to do waitforbuttonpress).
You solved my problem thanks a lot.
A last question: how to mark this topic as solved?
Is there some way in this forum or not?
Thanks again
Gio
Tatsuro MATSUOKA-2 wrote:
>
> Error correction.
>
> BTW, did you try a=ginput(1) on octave for windows with graph plotted (not
> figure() after figure)?
> !
> v
> (not figure() after plot)?
>
>
>
> --------------------------------------
> 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
> http://pr.mail.yahoo.co.jp/southafrica2010/
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
--
View this message in context:
http://octave.1599824.n4.nabble.com/Problem-while-using-waitforbuttonpress-function-tp2241404p2244314.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: Problem while using waitforbuttonpress function, (continued)
- Re: Problem while using waitforbuttonpress function, Przemek Klosowski, 2010/06/03
- Re: Problem while using waitforbuttonpress function, Giox79, 2010/06/03
- Re: Problem while using waitforbuttonpress function, Tatsuro MATSUOKA, 2010/06/03
- Re: Problem while using waitforbuttonpress function, Giox79, 2010/06/05
- Re: Problem while using waitforbuttonpress function, Tatsuro MATSUOKA, 2010/06/05
- Re: Problem while using waitforbuttonpress function, Giox79, 2010/06/05
Problem while using waitforbuttonpress function, Giovanni Parodi, 2010/06/03
Re: Problem while using waitforbuttonpress function, tmacchant, 2010/06/05
- Re: Problem while using waitforbuttonpress function,
Giox79 <=