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

 
 

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

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5