[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49980] plotyy fails after previous plot
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #49980] plotyy fails after previous plot |
Date: |
Wed, 4 Jan 2017 21:53:55 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #6, bug #49980 (project octave):
>> ... there is nothing in the language that requires a programmer to be that
forward thinking.
Yes average users should not have to bother with this and I agree that having
"newplot" reset the listeners is the way to go.
In newplot.m I see this note:
## delete (allchild (ca));
## reset (ca);
###########################
## Actually, __go_axes_init__ does both less and more.
## It doesn't really remove all children since it re-instantiates
## xlabel, ylabel, zlabel, and title text objects.
## Also it preserves font properties like fontsize.
## For the time being, in order to have axis labels and title work,
## the above code is required.
I don't understand why we have to use __go_axes_init__ and why it has to
delete and recreate labels, does someone have any insight?
Why not something like:
cla reset
Currently "cla reset" will call axes::reset_default_properties which in turn
follows approximately the same route as __go_axes_init__ so the attached cset
would do the trick.
(file #39366)
_______________________________________________________
Additional Item Attachment:
File name: remove_listeners.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49980>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, anonymous, 2017/01/03
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/03
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/04
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/04
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/04
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/04
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/05
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Pantxo Diribarne, 2017/01/06
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/06
- [Octave-bug-tracker] [bug #49980] plotyy fails after previous plot, Rik, 2017/01/06