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

 
 

bug #39429: axis tight -> erases plot

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun 07 Jul 2013 11:50:21 PM UTC  
 
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 27 Jul 2013 12:45:05 PM UTC, comment #7:

No report of problems, so I'm closing.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 20 Jul 2013 02:58:10 PM UTC, 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 20 Jul 2013 02:38:29 PM UTC, 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 19 Jul 2013 03:14:25 PM UTC, 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 08 Jul 2013 11:43:37 AM UTC, comment #3:

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

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

Also occurs under Linux.

Michael Goffioul <goffioul>
Project Member
Sun 07 Jul 2013 11:51:52 PM UTC, comment #1:

A simpler example.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 07 Jul 2013 11:50:21 PM UTC, 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 27 Jul 2013 12:45:05 PM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 20 Jul 2013 02:58:10 PM UTCbpabbottStatusNone=>Ready For Test
    Fri 19 Jul 2013 03:14:25 PM UTCbpabbottAssigned toNone=>bpabbott
    Mon 08 Jul 2013 11:22:06 AM UTCgoffioulOperating SystemMac OS=>Any

    Back to the top


    Powered by Savane 3.1-cleanup