bugGNU Octave - Bugs: bug #40005, set (ax, "ylim")...

 
 

bug #40005: set (ax, "ylim") incorrectly scales axis from deep within listener hierarchy

Submitted by:  Rik <rik5>
Submitted on:  Wed 11 Sep 2013 11:10:07 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 04 May 2014 11:56:53 PM UTC, comment #4:

I applied your patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/868dcab453bd). Thanks for taking care of this. Closing report.

Rik <rik5>
Project Administrator
Sun 04 May 2014 08:13:58 PM UTC, comment #3:

Ok sorry Rik. With this modified protocol, I can reproduce the bug.

The problem is that when the main axes has its limits currently updated, a static recursion variable prevents the colorbar axes from being also updated.

I attached a patch.

(file #31302)

Pantxo Diribarne <pantxo>
Project Member
Thu 01 May 2014 10:01:30 PM UTC, comment #2:

The problem is still there. I've re-written the example so that the problem is evident.

I added the instructions to colorbar.m

Rik <rik5>
Project Administrator
Tue 22 Apr 2014 07:45:16 PM UTC, comment #1:

I can't reproduce this bug. The proposed test doesn't trigger the listener (update_colorbar_clim) in which the keyboard command is set; so I tried the following:

Pantxo Diribarne <pantxo>
Project Member
Wed 11 Sep 2013 11:10:07 PM UTC, original submission:

See the FIXME note in colorbar.m in subfunction update_colorbar_clim.

The result is that the axis is scaled to half its original value. Instead, the axis should keep its size and the axis tick labels should change.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #31302:  axes_limits_update.patch added by pantxo (4kB - application/x-download)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by rik5 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 May 2014 11:56:53 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 04 May 2014 08:13:58 PM UTCpantxoAttached File-=>Added axes_limits_update.patch, #31302

    Back to the top


    Powered by Savane 3.1-cleanup