bugGNU Octave - Bugs: bug #39316, legend box should align to...

 
 

bug #39316: legend box should align to original axes "position" property

Submitter:  Ben Abbott <bpabbott>
Submitted:  Sat 22 Jun 2013 03:57:17 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Ben Abbott Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Dec 2018 07:07:05 AM UTC, comment #4: 

There are plenty of problems with legend still, but this seems to work now.  Closing report.

Rik <rik5>
Group administrator
Thu 17 Nov 2016 10:43:51 AM UTC, comment #3: 

This bug is still present in the current dev 4.3.0 (39f39eb4e476).
 
I filed task #14243 about rewriting legend.m

Pantxo Diribarne <pantxo>
Group Member
Fri 16 Aug 2013 01:27:03 AM UTC, comment #2: 

I don't know when I'll get to this, so I'm removing myself from "assigned to"

Ben Abbott <bpabbott>
Group Member
Fri 19 Jul 2013 02:46:00 PM UTC, comment #1: 

There are several legend() bugs (39395 for ex) that indicate the need for a rewrite.  Special attention should be made the subplots with legends outside (demo legend 24, for ex).

Ben Abbott <bpabbott>
Group Member
Sat 22 Jun 2013 03:57:17 AM UTC, original submission:  

When placed outside, Octave's legend box aligns to the plot axes "outerposition" property.  However, Matlab's aligns to the "position" property.


close all
subplot (2,1,1)
plot (rand (3))
legend blue green red
legend location northeastoutside
print -dpng -r72 subplot211-octave.png
clf
plot (rand (3))
legend blue green red
legend location northeastoutside
print -dpng -r72 subplot111-octave.png


I've attached the result of this script using Octave+fltk and Matlab.

Ben Abbott <bpabbott>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Digest:
   bug dependencies.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-14 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-11-18 rik5 Dependencies- Depends on bugs #33112
    2013-08-16 bpabbott Assigned tobpabbott None
    2013-07-19 bpabbott Assigned toNone bpabbott
    2013-06-22 bpabbott Attached File- Added subplot111-matlab.png, #28382
        Attached File- Added subplot111-octave.png, #28383

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code