bugGNU Octave - Bugs: bug #32310, ginput does not return correct...

 
 

bug #32310: ginput does not return correct graph coordinates

Submitted by:  John W. Eaton <jwe>
Submitted on:  Mon 31 Jan 2011 09:37:11 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 04 Feb 2012 02:47:31 AM UTC, comment #2:

Fixed in this changeset (5a2b012b10c7).

Rik <rik5>
Project Administrator
Mon 21 Feb 2011 04:19:31 AM UTC, comment #1:

Confirmed. I found the difference easy to spot by using

In this case the origin (0,0) is reported as

The offset is not fixed either. Using the mouse to resize the window results in the origin being at a different (x,y) value which is still not (0,0).

Rik <rik5>
Project Administrator
Mon 31 Jan 2011 09:37:11 PM UTC, original submission:

Using ginput with the fltk graphics toolkit does not seem to produce values that are graph coordinates. The dynamic values of the mouse pointer position at the bottom of the window also do not seem to be graph coordinates, which is not what I was expecting.

For example, try this

then place the cursor at (0.6, 0.6) and click. For me, ginput returns

and the dynamic coordinate display at the bottom of the windo shows something similar. I don't think I was that far off the (0.6, 0.6) grid/line intersection.

John W. Eaton <jwe>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Feb 2012 02:47:31 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 03 Aug 2011 10:27:55 PM UTCrik5Dependencies-=>bugs #33929 is dependent
    Sat 02 Apr 2011 07:33:44 PM UTCrik5Summaryginput does not return graph coordinates=>ginput does not return correct graph coordinates
    Mon 28 Feb 2011 02:05:52 AM UTCrik5Dependencies-=>bugs #32609 is dependent
    Mon 21 Feb 2011 04:19:31 AM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1