bugGNU Octave - Bugs: bug #58430, legend() returns handle to...

 
 

bug #58430: legend() returns handle to graphics object even nargout == 0

Submitter:  Daniel Molina García <dmolina>
Submitted:  Fri 22 May 2020 10:37:29 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 May 2020 03:23:03 PM UTC, comment #3: 

Fixed in this changeset: https://hg.savannah.gnu.org/hgweb/octave/rev/3da71c0527a1.

Closing report.

Rik <rik5>
Group administrator
Sat 23 May 2020 08:03:00 AM UTC, comment #2: 

My fault. "legend" should be in the title instead of "label". I am  only reporting about "legend".

I think I have no permissions to change the title, feel free to do it by yourself.

Daniel Molina García <dmolina>
Sat 23 May 2020 06:32:39 AM UTC, comment #1: 

The bug summary says "label", but the example code seems to use "legend".  Could you clarify?

Rik <rik5>
Group administrator
Fri 22 May 2020 10:37:29 PM UTC, original submission:  

Example to reproduce it:


octave:1> graphics_toolkit gnuplot
octave:2> plot ([1, 2], [1, 2])
octave:3> legend('A')
ans = -7.7682


Daniel Molina García <dmolina>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by dmolina (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-23 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2020-05-23 rik5 Summary&quot;label&quot; outputs a scalar legend() returns handle to graphics object even nargout == 0
    2020-05-23 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code