bugGNU Octave - Bugs: bug #32373, legend northeastoutside does not...

 
 

bug #32373: legend northeastoutside does not align properly

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun 06 Feb 2011 08:11:40 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Ben AbbotOpen/Closed: Closed
Release: devOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 08 Feb 2011 09:12:46 PM UTC, comment #5:

Ben, this now works so I'm closing this bug
D.

David Bateman <dbateman>
Project Member
Sun 06 Feb 2011 10:28:48 PM UTC, comment #4:

Ignoring the part of

http://hg.savannah.gnu.org/hgweb/octave/rev/6ba430a75553

that I didn't want to commit in src/. The attached changeset is what I meant. Yes thee behavior of outerposition with subplot looks odd to me.

D.

David Bateman <dbateman>
Project Member
Sun 06 Feb 2011 10:11:44 PM UTC, comment #3:

It looks to me as if subplot has modified the outerposition.

It is likely that I am responsible for this behavior. I have a recollection of running several test cases in Matlab and fitting to the position/outerposition properties. Perhaps something more intelligent should be done.

Ben Abbott <bpabbott>
Project Member
Sun 06 Feb 2011 09:54:25 PM UTC, comment #2:

I don't think your patch is quite right. I believe something like is needed as you haven't correctly the outerposition.. I also added a small padding.

D.

(file #22613)

David Bateman <dbateman>
Project Member
Sun 06 Feb 2011 09:51:18 PM UTC, comment #1:

I've pushed a changeset.

http://hg.savannah.gnu.org/hgweb/octave/rev/4d30b4136a3e

There are some remaining problems.

(1) Tightinset info needs to be used to properly place the legend object.
(2) The subplots leave a lot of space around the border of the figure. Should their outerpositions go to the figure's edge?

Ben Abbott <bpabbott>
Project Member
Sun 06 Feb 2011 08:11:40 PM UTC, original submission:

For the example below the axis and legend boxes should be aligned at their top edges.

The problem is most easily seen for the fltk backend. However, for gnuplot, the axis position property is also shifted so as to produce enough room for the legend's box above.

Ben Abbott <bpabbott>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #22613:  patch.legend added by dbateman (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dbateman (Updated the item)
  • -unavailable- added by bpabbott (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Feb 2011 09:12:46 PM UTCdbatemanStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 06 Feb 2011 09:54:25 PM UTCdbatemanAttached File-=>Added patch.legend, #22613
    Sun 06 Feb 2011 09:51:18 PM UTCbpabbottStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1