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

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

[Octave-bug-tracker] [bug #46460] legend doesn't accept properties befor


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #46460] legend doesn't accept properties before labels - Matlab Compatibility
Date: Mon, 16 Nov 2015 23:07:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

URL:
  <http://savannah.gnu.org/bugs/?46460>

                 Summary: legend doesn't accept properties before labels -
Matlab Compatibility
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Mon 16 Nov 2015 11:07:02 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

code snippet demonstrating legend working in Matlab but erroring out in
Octave.


a = 1:100;
b = sin(a);
plot(a,b);
legend('a','location','south');
legend('location','north','a');


Matlab (2015a) is fine with both legend commands. Octave 4.0.0 says:

warning: legend: ignoring extra labels
warning: called from
    legend at line 458 column 9


and then adds the label 'location'




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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