bugGNU Octave - Bugs: bug #39327, subplot "looseinset",...


bug #39327: subplot "looseinset", "position" and "outerposition" are wrong

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun 23 Jun 2013 11:20:53 AM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  Ben Abbott <bpabbott>
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.


Sat 27 Jul 2013 12:44:24 PM UTC, comment #5:

No reports of problems, so I'm closing.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 19 Jul 2013 02:52:22 PM UTC, comment #4:

Changeset has been submitted


Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 06 Jul 2013 08:45:34 PM UTC, comment #3:

Several changesets have been pushed in the last week. The bug reported by Stefan in comment #2 has gone away.

The legend is not rendered properly. The updated results for the test script in comment #1 are below.

As far as I can tell, the outerposition's width should not be modified to make room for the legend.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 28 Jun 2013 12:04:04 PM UTC, comment #2:

With gnuplot frontend, the plot area gets smaller and smaller if the following code is excecuted several times.

The problem disappears if I revert legend.m to a changeset before

Stefan Mahr <dac922>
Sun 23 Jun 2013 11:33:49 AM UTC, comment #1:

The "outerposition" property for the prior example represents the combination of the "position" and "tightinset".

However, the "outerpositon" property should only be modified when the "activepositionproperty" is equal to "postion", and when the axes+labels+title+ticklabels (i.e. position+tightinset) collectively exceed the size of the "outerposition" property. In this case, the "outerposition" property must be expanded.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 23 Jun 2013 11:20:53 AM UTC, original submission:

The script above produces the result below.

The "tightinset" may also be wrong, or the variance may be due to a different font (both Matlab and Octave are using 10pt font).

(Note: The problems with these axes properties interferes with rendering the legend correctly)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.


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

Attach Files:

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 dac922 (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.


    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
    2013-07-27 bpabbott StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2013-07-19 bpabbott StatusNone => Ready For Test
        Assigned toNone => bpabbott

    Back to the top

    Powered by Savane 3.3