octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44834] [OpenGL] ginput doesn't return proper


From: Rik
Subject: [Octave-bug-tracker] [bug #44834] [OpenGL] ginput doesn't return proper (X, Y) coordinates for key press
Date: Sat, 18 Apr 2015 22:43:17 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #3, bug #44834 (project octave):

@Philip: Could you test whether Matlab is updating the CurrentPoint property
when a key is pressed?

Sample code:


plot (1:10);
[x,y,b] = ginput (2)
%% Now move the cursor to some point like (2,2) and left-click mouse
%% Now move cursor to a new point like (5,5) and press 'a'
get (gca, 'currentpoint')


You said that the value returned in (x,y) was correct for a keypress.  Was the
value of the CurrentPoint property the same as that returned in (x,y) which is
something like (5,5)?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44834>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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