bugGNU Octave - Bugs: bug #42043, image(X, Y, Img) yields distorted...

 
 

bug #42043: image(X, Y, Img) yields distorted display

Submitted by:  Falk Tannhäuser <fata>
Submitted on:  Thu 03 Apr 2014 10:26:10 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Falk TannhäuserOpen/Closed: Closed
Release: 3.8.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 04 Apr 2014 06:53:44 PM UTC, comment #5:

I fixed the issue in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/3283ce934648). Unfortunately you won't see the results until the next release (3.8.2). But since the changes were only to m-files you could just grab image.m, imagesc.m from the hgweb interface and replace your local copies with the new files.

Rik <rik5>
Project Administrator
Fri 04 Apr 2014 04:19:08 PM UTC, comment #4:

Done. See the attached .tar.bz2 archive.

(file #31126)

Falk Tannhäuser <fata>
Fri 04 Apr 2014 03:44:08 PM UTC, comment #3:

I need to ask for another piece of information from Matlab.

Could you run this code and then upload the resulting file?

If it doesn't work with a structure and '-v6' you could use '-v7', but it should be fine.

Rik <rik5>
Project Administrator
Fri 04 Apr 2014 12:28:55 PM UTC, comment #2:

With Matlab version 8.0.0.783 (R2012b) I get the following results (some line breaks removed):

I also attach PNG files of the generated figures.

(file #31122, file #31123)

Falk Tannhäuser <fata>
Thu 03 Apr 2014 11:24:49 PM UTC, comment #1:

I know why this is happening, but I need to figure out how Matlab behaves in order to maintain compatibility. Could someone run the following test in Matlab ard report the results here?

Rik <rik5>
Project Administrator
Thu 03 Apr 2014 10:26:10 PM UTC, original submission:

The following command yields a distorted picture display in Octave version 3.8.1 (Cygwin 64-bit / gnuplot), while a normal (i.e. almost square) picture is generated when replacing the file /usr/share/octave/3.8.1/m/image/image.m by the corresponding file from version 3.8.0:
See the two attached PNG files for the different results.
This strange behaviour breaks in particular the specgram() function from the signal package, which is how I noticed the problem.

Falk Tannhäuser <fata>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #31126:  axprop.tar.bz2 added by fata (5KiB - application/x-bzip2)
file #31122:  1.png added by fata (3KiB - image/png)
file #31123:  2.png added by fata (3KiB - image/png)
file #31117:  image_380.png added by fata (10KiB - image/png)
file #31118:  image_381.png added by fata (10KiB - image/png)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 21 Aug 2015 02:16:17 PM UTCmtmillerDependencies-=>bugs #45807 is dependent
    Sat 06 Sep 2014 07:18:33 PM UTCmtmillerDependencies-=>bugs #43159 is dependent
    Fri 04 Apr 2014 06:53:44 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 04 Apr 2014 04:19:08 PM UTCfataAttached File-=>Added axprop.tar.bz2, #31126
    Fri 04 Apr 2014 12:28:55 PM UTCfataAttached File-=>Added 1.png, #31122
      Attached File-=>Added 2.png, #31123
    Thu 03 Apr 2014 11:24:49 PM UTCrik5StatusNone=>Need Info
    Thu 03 Apr 2014 10:26:10 PM UTCfataAttached File-=>Added image_380.png, #31117
      Attached File-=>Added image_381.png, #31118

    Back to the top


    Powered by Savane 3.1-cleanup1