[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46654] Quirks with closing Figures and updati
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #46654] Quirks with closing Figures and updating Figure sizes (gnuplot) |
Date: |
Sun, 13 Dec 2015 02:01:40 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9 |
Update of bug #46654 (project octave):
Status: Confirmed => Wont Fix
Operating System: GNU/Linux => Any
_______________________________________________________
Follow-up Comment #2:
These are both features of using gnuplot. Octave has no direct control over
gnuplot figure windows after they have been created. This lacking was a major
motivation for introducing native OpenGL graphics toolkits.
For case 1, closing a gnuplot window by clicking [X] is not an event that
Octave is able to detect. Thus, figure (1) still exists (as far as Octave
knows. Thus,
close all
figure
% close figure 1 using mouse
figure
findobj (0, 'type', 'figure')
Is equivalent to
close all
figure
figure
findobj (0, 'type', 'figure')
In each case, Octave still has two figures open and the findobj() command will
return
ans =
2
1
For case 2, there is no mechanism for Octave to resize a gnpuplot window after
it has been created. It is also not possible for Octave to determine the size
of gnuplot windows. Meaning that if the mouse is used to resize the gnuplot
window, Octave will be unaware of the change.
It is possible to specify a window's position and size when it is created.
This can be done by specifying the figure's "position" when it is created.
close (1)
figure (1, "position", [x, y, w, h])
This behavior is OS independent and has been addressed by the introduction of
the OpenGL toolkits. Thus, I'm marking this as "won't fix".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46654>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/