bugGNU Octave - Bugs: bug #48210, legend returns incorrect handles...

 
 

bug #48210: legend returns incorrect handles for scatter plot

Submitter:  Muhali <muhali>
Submitted:  Mon 13 Jun 2016 09:14:20 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Jun 2016 08:34:00 PM UTC, comment #2: 

I fixed this on the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/7aa8d9c28d2b).  Closing report.

Rik <rik5>
Group administrator
Mon 13 Jun 2016 03:34:34 PM UTC, comment #1: 

Confirmed.  h_plt should be a handle to the hggroup object which contains the scatter points, rather than to any of the scatter points themselves.

Rik <rik5>
Group administrator
Mon 13 Jun 2016 09:14:20 AM UTC, original submission:  

As shown in this code


x = 1:3 ;
scatter(x, x) ;
[h h_obj h_plt] = legend('leg') ;
delete(h_plt)


only the last point (at x=3) is returned in h_plt.

Muhali <muhali>

 

(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 muhali (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-14 rik5 Open/ClosedOpen Closed
    2016-06-14 rik5 StatusConfirmed Fixed
    2016-06-13 rik5 StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code