[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51452] ginput returns empty array when figure
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode |
Date: |
Thu, 20 Jul 2017 11:34:30 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #8, bug #51452 (project octave):
Matlab is being dopey here. In terms of the philosophy of UI design, I should
not expect that there would be side effects from calling ginput. It would be
more intuitive if ginput were to save the current graphics settings, execute,
and then restore the settings. I see no need to slavishly copy Matlab in this
regard.
At least for the FLTK toolkit this may not be hard to implement. The menu
options are already implemented as uimenus if we want to disable them. And
the actual zoom, pan, rotate values are stored in hidden properties on the
figure (__rotate_mode__, __pan_mode__, __zoom_mode__). The ginput.m script
already uses an unwind_protect block to restore some settings after
completion. It should be dead simple to store and retrieve these values.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51452>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51452] When using ginput(), select returns zero array after zooming, anonymous, 2017/07/12
- [Octave-bug-tracker] [bug #51452] When using ginput(), select returns zero array after zooming, Pantxo Diribarne, 2017/07/12
- [Octave-bug-tracker] [bug #51452] When using ginput(), select returns zero array after zooming, Pantxo Diribarne, 2017/07/12
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode, Mike Miller, 2017/07/15
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode, Rik, 2017/07/19
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode, Pantxo Diribarne, 2017/07/20
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode, Mike Miller, 2017/07/20
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode, Pantxo Diribarne, 2017/07/20
- [Octave-bug-tracker] [bug #51452] ginput returns empty array when figure is in select / plotedit mode,
Rik <=