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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63531] legend() tries to set displayname for


From: anonymous
Subject: [Octave-bug-tracker] [bug #63531] legend() tries to set displayname for nonexistent handle
Date: Thu, 15 Dec 2022 04:34:50 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63531>

                 Summary: legend() tries to set displayname for nonexistent
handle
                 Project: GNU Octave
               Submitter: None
               Submitted: Thu 15 Dec 2022 09:34:48 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 15 Dec 2022 09:34:48 AM UTC By: Anonymous
Hi, 

I have a problem with the legend function. I invoke legend() pretty often with
a varying number of line handles. Since I had problems in the past where
settings various properties of the line handles led to the legend
auto-updating, I now call legend() with 'autoupdate' set to 'off'. 

I've attached a script that replicates the error I encountered (invalid dot
name structure assignment because the structure array is empty.). As you can
see in the script, the error gets thrown when I change the displayname of a
line handle that does currently not appear in the legend but used to be
displayed. I thought I had curbed this particular problem with autoupdate->off
...

Is this a proper bug or did I misunderstand the autoupdate property? A
workaround is to delete the legend before each invocation of the next legend()
command - I used to do that but switched to autoupdate. 






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 15 Dec 2022 09:34:48 AM UTC  Name: legend_bug.m  Size: 335B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=54099>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63531>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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