bugGNU Octave - Bugs: bug #39429, axis tight -> erases plot

 
 

bug #39429: axis tight -> erases plot

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun Jul 7 23:50:21 2013  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
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.

 

(Jump to the original submission Jump to the original submission)

Sat Jul 27 12:45:05 2013, comment #7:

No report of problems, so I'm closing.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat Jul 20 14:58:10 2013, comment #6:

axis() was setting the span of zlim to zero.

I pushed a changeset.

http://hg.savannah.gnu.org/hgweb/octave/rev/13a12d01aca5

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat Jul 20 14:38:29 2013, comment #5:

My prior comment can be ignored. The problem is more esoteric than that.

The example below renders the correct result.

Without looking further, my impression is that "axis tight" does not result in the children being redrawn. Maybe they are not marked as modified?

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

This fixes the problem.

Is there any reason adding such an adjustment to the OpenGL backend would be a problem?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon Jul 8 11:43:37 2013, comment #3:

Adding an extra "axis tight", or "axis auto" renders the correct plot.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon Jul 8 11:22:06 2013, comment #2:

Also occurs under Linux.

Michael Goffioul <goffioul>
Project Member
Sun Jul 7 23:51:52 2013, comment #1:

A simpler example.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun Jul 7 23:50:21 2013, original submission:

The script below is the 6th demo for axis.m

The plot looks correct after the second pcolor(), but after "axis tight" the contents of the plotbox and the axes labels are erased.

I'm not sure if this occurs on other OS's, so I've selected Mac OS for the operating system.

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:
   

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 goffioul (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jul 27 12:45:05 2013bpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat Jul 20 14:58:10 2013bpabbottStatusNone=>Ready For Test
    Fri Jul 19 15:14:25 2013bpabbottAssigned toNone=>bpabbott
    Mon Jul 8 11:22:06 2013goffioulOperating SystemMac OS=>Any

    Back to the top


    Powered by Savane 3.1-cleanup