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

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

[Octave-bug-tracker] [bug #65442] legend.m fails on polar plot when exec


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #65442] legend.m fails on polar plot when executed more than one time
Date: Thu, 21 Mar 2024 16:50:14 -0400 (EDT)

Follow-up Comment #11, bug #65442 (group octave):

@Rik: I have a work in progress patch (see attached). It currently solves the
issues at hand but I have been trying to make the following example work as in
ML:


clf; hold on;

h1 = plot (1:10, "displayname", "visible");
h2 = plot (10*rand (1,10), "handlevisibility", "off", ...
           "displayname", "invisible");

legend () ## Only the first line has a legend

legend ([h1 h2]) ## Both lines now have a legend

disp ("Click any key to add a new visible item")
pause
h3 = plot (10*rand (1,10), "displayname", "visible");
## The second item should not disappear

I.e. objects with invisible handles don't get a legend by default  (that
works) but one should be able to add a legend to a purposely invisible object
(that works) ans the automatic update for further item addition should not
remove it (that still doesn't work).


(file #55877)

    _______________________________________________________

Additional Item Attachment:

File name: bug65442_3.patch               Size:2 KB
    <https://file.savannah.gnu.org/file/bug65442_3.patch?file_id=55877>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-5ea9c5878459901cc3e7e18e45bd42ecb076b765.tar.gz


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

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