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

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

[Octave-bug-tracker] [bug #57947] legend() emits spurious error with som


From: Francesco Potortì
Subject: [Octave-bug-tracker] [bug #57947] legend() emits spurious error with some specific arguments
Date: Tue, 3 Mar 2020 09:18:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

URL:
  <https://savannah.gnu.org/bugs/?57947>

                 Summary: legend() emits spurious error with some specific
arguments
                 Project: GNU Octave
            Submitted by: pot
            Submitted on: Tue 03 Mar 2020 03:18:57 PM CET
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

legend() emits a spurious error. Changing arg order is a workaround.


octave:1> plot(1:2)
octave:2> legend({"label"}, 'location', 'southeast', 'fontsize', 14)
warning: legend: specifying location with a numeric argument is obsolete and
will be removed from a future version of Octave, use a string specification
instead
warning: called from
    legend at line 211 column 7
error: legend: invalid location specified
error: called from
    legend at line 218 column 9
octave:2> legend({"label"}, 'fontsize', 14, 'location', 'southeast');
octave:3> version
ans = 5.2.0





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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