bugGNU Octave - Bugs: bug #57947, legend() emits spurious error with...

 
 

bug #57947: legend() emits spurious error with some specific arguments

Submitter:  Francesco Potortì <pot>
Submitted:  Tue 03 Mar 2020 02:18:57 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Mar 2020 06:18:11 PM UTC, comment #1: 

Thank you for the bug report. Fortunately this has already been fixed on the version 6 stable branch with an overhauled legend function. The new legend will be available when version 6.1.0 is released soon.

Mike Miller <mtmiller>
Group Member
Tue 03 Mar 2020 02:18:57 PM UTC, original submission:  

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


Francesco Potortì <pot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-03 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code