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

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

[Octave-bug-tracker] [bug #42035] legend (hax, ...) doesn't work for any


From: Rik
Subject: [Octave-bug-tracker] [bug #42035] legend (hax, ...) doesn't work for any axes handle apart from gca
Date: Sun, 06 Apr 2014 15:04:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

Follow-up Comment #3, bug #42035 (project octave):

legend.m is really complicated which always makes it painful to modify.  In
this case, the patch works for the first invocation, but not for a second
invocation.  In fact, it enters into an infinite loop.


close all;
figure;
a1 = axes;
plot (a1, 1:10, sin (1:10));
figure;
a2 = axes;
plot (a2, 1:10, sin (1:10));
legend(a1,'a1');
legend(a1,'new text');


The trouble appears to be with a callback for setting "DisplayName" when the
text changes which then re-invokes legend.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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