[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52641] Changing legend "displayname" property
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error |
Date: |
Mon, 11 Dec 2017 21:42:58 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #3, bug #52641 (project octave):
Actually, gnuplot is updating the "displayname" somewhere else too because I
can comment out all the lines of "updatename" listener and the "Legend String"
goes away. So gnuplot toolkit is covering up the issue.
Anyway, I see what the issue is here. The original error example works, but
not your second, simpler example. But your second example uses the
"displayname" listener callback method. However, if hplots is empty, the
legend string will not be updated:
if (! isempty (hplots))
legend (get (hplots(1), "parent"), hplots, text_strings);
endif
_______________________________________________________
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] 'legend' + 'hold on' produces unnecessary error, Hartmut, 2017/12/11
- [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 <=
- [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, 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, Dan Sebald, 2017/12/13