bugGNU Octave - Bugs: bug #52693, ginput doesn't work with gnuplot...

 
 

bug #52693: ginput doesn't work with gnuplot toolkit

Submitter:  None
Submitted:  Tue 19 Dec 2017 03:55:02 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 4.2.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 26 Dec 2017 06:30:26 PM UTC, comment #8: 

Bug #52699 has been fixed so it is okay to proceed with this bug.

Rik <rik5>
Group administrator
Thu 21 Dec 2017 11:00:29 PM UTC, comment #7: 

For the moment, ginput on the dev branch does not work (see bug #52699).  I guess that needs to be fixed first before work can proceed on this bug.

Rik <rik5>
Group administrator
Thu 21 Dec 2017 10:56:52 PM UTC, comment #6: 

gnuplot has a MOUSE_X, MOUSE_Y variable for reporting mouse position, and there does appear to be use of these variables in the script file _gnuplot_ginput_.m.

However, I can't seem to get any ginput() to work in the recent development code, regardless of toolkit.  So, it is difficult for me to investigate.

Dan Sebald <sebald>
Wed 20 Dec 2017 02:45:51 PM UTC, comment #5: 

As suggested in the last comment, the bug only appears with gnuplot, I've tested with the 4.0.0 version and using fltk it works but using gnuplot no.

Anonymous
Wed 20 Dec 2017 02:38:21 PM UTC, comment #4: 

I can confirm that ginput doesn't work for me with gnuplot toolkit (I tested x11, qt and wxt terminals) in Octave 4.2.1

Changing category and title to make it clear that the issue is gnuplot specific.

Pantxo Diribarne <pantxo>
Group Member
Wed 20 Dec 2017 02:25:31 PM UTC, comment #3: 

The fltk graphics_toolkit is not available for octave-4.2.1 but it is for the version 4.0.0, the only one toolkit available for the 4.2.1 version is gnuplot.

Anonymous
Tue 19 Dec 2017 07:00:27 PM UTC, comment #2: 

To be utterly explicit, does this work?


close all
graphics_toolkit fltk
plot (1:10)
[x,y] = ginput (3)  # Click 3 times in figure to get points



Rik <rik5>
Group administrator
Tue 19 Dec 2017 04:07:26 PM UTC, comment #1: 

As reported in bug #51452, it is a known issue that ginput only works with Qt toolkit if no tool (zoom-in, zoom-out, pan, text) is enabled in the figure. Is this what you are observing or does ginput really never work?

Also, is the issue you are reporting only present for Qt toolkit (the default, at least in --no-gui mode, not in -cli) or does it also occur with fltk and gnuplot toolkits?

Pantxo Diribarne <pantxo>
Group Member
Tue 19 Dec 2017 03:55:02 PM UTC, original submission:  

Hello everyone, I remark that for the new version of octave (4.2.1) the ginput doesn't work.

ginput()

It open the plotting window but then it does not record any points, even with ginput(n) call.
I also tried the RET key but nothing ...
I don't have any warning or error in the cmd (only tried with the octave-cli since octave have troubleshoot with gtk i guess..)
Note : The function works correctly with Octave v4.0.0

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-21 rik5 Dependencies- Depends on bugs #52699
    2017-12-20 pantxo CategoryPlotting Plotting with gnuplot
        StatusNeed Info Confirmed
        Summaryginput doesn't record points ginput doesn't work with gnuplot toolkit
    2017-12-19 pantxo StatusNone Need Info
        SummaryGIpunt doesn't record points ginput doesn't record points

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code