octave-bug-tracker
[Top][All Lists]
Advanced

[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: Mon, 11 Dec 2017 17:52:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52641 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 
                 Summary: 'legend' + 'hold on' produces unnecessary error =>
Changing legend "displayname" property to empty string "" leads to printing an
error

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  The problem is with any null string and a simpler example is


h = plot (1:10, "o-;Legend String;");
set (h, "displayname", "")


I fixed the problem on the stable branch here
(http://hg.savannah.gnu.org/hgweb/octave/rev/a7dfb685d261).  This issue
exposed a big inefficiency on the legend code.  I have not dealt with that,
but noted it in a FIXME comment in the code.  Maybe it doesn't matter too much
because legend() isn't called a lot and the response of Octave can be on human
time scales (100's of milliseconds).



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52641>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]