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

 
 

bug #39337: tightinset is incorrect

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Tue 25 Jun 2013 05:58:17 AM UTC  
 
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 27 Jul 2013 12:46:47 PM UTC, comment #3:

No issues with changeset have been reported.

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

Changeset has been submitted.

http://hg.savannah.gnu.org/hgweb/octave/rev/350cad34b0f8

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 14 Jul 2013 07:19:54 PM UTC, 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 25 Jun 2013 05:58:17 AM UTC, 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):
   
   
Comment:
   

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 27 Jul 2013 12:46:47 PM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 19 Jul 2013 02:51:54 PM UTCbpabbottStatusNone=>Ready For Test
      Assigned toNone=>bpabbott
    Tue 25 Jun 2013 05:58:17 AM UTCbpabbottAttached 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-cleanup