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

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

[Octave-bug-tracker] [bug #57319] legend() fails after being repeadetly


From: anonymous
Subject: [Octave-bug-tracker] [bug #57319] legend() fails after being repeadetly called (show/off) after plotyy
Date: Thu, 28 Nov 2019 03:57:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Follow-up Comment #2, bug #57319 (project octave):

Thanks for the fix! It works just as expected now. 

However, I get an

execution error in graphics callback function

if the parent of the axes is not a figure but a panel when I call 'legend
off'. I used the following code for testing: 


h = figure(1);
p = uipanel(h,'title','test panel');
ax = axes('parent',p);
a = (1:10);
[yyax,~,~] = plotyy(gca,a,a,2.*a,sqrt(a));
l = legend;
legend off

However, if I call 'legend show' again, the legend shows up just fine without
any error.

I'm not sure if that's a separate issue or if it's got something to do with
Bug #57303 ?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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