[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52641] Changing legend "displayname" property
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error |
Date: |
Tue, 12 Dec 2017 17:12:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #11, bug #52641 (project octave):
It's true that the Matlab convention is to reserve "UserData" for users, but
it is only a convention. In this case, Octave mimics a true C++ legend object
by adding properties, listeners, and data on top of an axes object. Octave
has been treating the legend as an opaque object for years, it already stores
the axes handle to which the legend belongs in the "UserData" property.
Given that history, it was easier to add to the existing implementation rather
than create a new one.
There is a task to rewrite legend.m: https://savannah.gnu.org/task/?14243.
When legend() is overhauled that would be a good time to ditch the use of
"UserData".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52641>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, (continued)
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Rik, 2017/12/11
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/11
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/11
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/11
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Rik, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Rik, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error,
Rik <=
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/12
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Dan Sebald, 2017/12/13
- [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error, Rik, 2017/12/13