bugGNU Octave - Bugs: bug #39337, tightinset is incorrect


bug #39337: tightinset is incorrect

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Tue Jun 25 05:58:17 2013  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Open/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:46:47 2013, comment #3:

No issues with changeset have been reported.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri Jul 19 14:51:54 2013, comment #2:

Changeset has been submitted.


Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun Jul 14 19:19:54 2013, comment #1:

An example

Matlab doesn't give the expected zeros(1,4) either. But the extra is an order of magnitude less than what Octave returns.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue Jun 25 05:58:17 2013, original submission:

I've written an m-file function to help examine the axes properties "position", "outerposition", "tightinset", and "looseinset". The script draw lines or patches to represent any or all of these properties.

I've found that the tightset has three problems.

  • It includes some empty space to the left of the axes box (only when yaxislocation = "left")
  • It includes some empty space to at the top of the axes box.
  • It does not include the width of the xticklabels
  • It does not include the xticklabels or yticklabels for 3D plots

I've attached my m-file function and some plots. In two of the plots produced by the function's demos. The region represented by the "tightinset" is plotted as a light blue patch. The "tightboundingbox" represents the combined position+tightinset.

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):

Attached Files
file #28407:  draw_axes_prop.m added by bpabbott (10kB - application/octet-stream)
file #28408:  demo4.pdf added by bpabbott (573kB - application/pdf)
file #28409:  demo1.pdf added by bpabbott (8kB - application/pdf)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jul 27 12:46:47 2013bpabbottStatusReady For Test=>Fixed
    Fri Jul 19 14:51:54 2013bpabbottStatusNone=>Ready For Test
      Assigned toNone=>bpabbott
    Tue Jun 25 05:58:17 2013bpabbottAttached File-=>Added draw_axes_prop.m, #28407
      Attached File-=>Added demo4.pdf, #28408
      Attached File-=>Added demo1.pdf, #28409

    Back to the top

    Powered by Savane 3.1-cleanup1