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, 18 Nov 2019 17:00:09 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #52641 (project octave):

              Item Group:        Unexpected Error => Matlab Compatibility   
                  Status:                   Fixed => Confirmed              
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #15:

The original motivating code works with Matlab, but fails with the new
legend.m code.


x = 0:10;

plot(x, x+1)
legend('x+1');

hold on
plot(x, x+2);
hold off

legend('', 'x+2'); % first string is empty -> error


It should be possible to set an empty value for a legend string.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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