bugGNU Octave - Bugs: bug #41886, imagesc with badly scaled axes

 
 

bug #41886: imagesc with badly scaled axes

Submitted by:  Muhali <muhali>
Submitted on:  Mon 17 Mar 2014 02:01:01 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 18 Mar 2014 05:22:04 PM UTC, comment #4:

Fixed in this changeset on the stable branch (http://hg.savannah.gnu.org/hgweb/octave/rev/2f39b386d399). In a little while I'm sure this will get merge over to all the other branches.

Rik <rik5>
Project Administrator
Tue 18 Mar 2014 04:06:19 PM UTC, comment #3:

Okay, this is pretty easy to fix. It looks like imagesc just calls 'axis tight'. I'll get to it later today.

Rik <rik5>
Project Administrator
Tue 18 Mar 2014 03:57:58 PM UTC, comment #2:

from ML:

>> get (gca, 'xlimmode')


ans =

manual

>> xlim


ans =

50 1050

>> pbaspect ('mode')


ans =

auto

>> daspect ('mode')


ans =

auto

Muhali <muhali>
Tue 18 Mar 2014 03:52:57 PM UTC, comment #1:

This is a regression between 3.8.0 and 3.8.1. I thought that imagesc would call the equivalent of "axis image" which is "axis tight; axis equal". Perhaps you could run the following test in Matlab and report the results.

Rik <rik5>
Project Administrator
Mon 17 Mar 2014 02:01:01 PM UTC, original submission:

produces a rectangle in the form of a line. This would be expected if 'axis equal' is set. Setting 'axis normal' brings everything back to normal, which should be the default (as in ML).

Muhali <muhali>

 

(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 rik5 (Posted a comment)
  • -unavailable- added by muhali (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Mar 2014 05:22:04 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 18 Mar 2014 03:52:57 PM UTCrik5Item GroupNone=>Regression
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1