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

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

[Octave-bug-tracker] [bug #42489] "ginput" returns wrong mouse button va


From: H. G.
Subject: [Octave-bug-tracker] [bug #42489] "ginput" returns wrong mouse button value (with gnuplot under Windows)
Date: Mon, 02 Jun 2014 13:22:32 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

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

                 Summary: "ginput" returns wrong mouse button value (with
gnuplot under Windows)
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Mon 02 Jun 2014 01:22:31 PM GMT
                Category: Plotting with gnuplot
                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: 3.8.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Here is how to reproduce the behavior. It happens only with gnuplot under
Windows:


graphics_toolkit('gnuplot');
%graphics_toolkit('fltk');
close all;
figure(1);
plot(1:10);
[x,y,b]=ginput(1);
b


The third result b for a left mouse click should be 1. But with gnuplot under
Windows it returns 1063.

For fltk under Windows you get the right result, as well as for fltk and
gnuplot under Linux.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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