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


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

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun Jun 23 11:20:53 2013  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


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

No reports of problems, so I'm closing.

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

Changeset has been submitted


Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat Jul 6 20:45:34 2013, 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 Jun 28 12:04:04 2013, 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 Jun 23 11:33:49 2013, 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 Jun 23 11:20:53 2013, 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by dac922 (Posted a comment)
  • -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
    Sat Jul 27 12:44:24 2013bpabbottStatusReady For Test=>Fixed
    Fri Jul 19 14:52:22 2013bpabbottStatusNone=>Ready For Test
      Assigned toNone=>bpabbott

    Back to the top

    Powered by Savane 3.1-cleanup1