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

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

[Octave-bug-tracker] [bug #32310] ginput does not return graph coordinat


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #32310] ginput does not return graph coordinates
Date: Mon, 31 Jan 2011 21:37:12 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

URL:
  <http://savannah.gnu.org/bugs/?32310>

                 Summary: ginput does not return graph coordinates
                 Project: GNU Octave
            Submitted by: jwe
            Submitted on: Mon 31 Jan 2011 09:37:11 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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


graphics_toolkit fltk
line 
grid on
[a,b,c] = ginput (1)


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


a =  0.59234
b =  0.54267
c =  1


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.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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