bugGNU Octave - Bugs: bug #42856, pcolor has bug

 
 

bug #42856: pcolor has bug

Submitter:  None
Submitted:  Mon 28 Jul 2014 03:28:15 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Milo westler Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Jul 2014 03:16:53 PM UTC, comment #3: 

Thanks.  Octave and Matlab agree.  The last row and column of a matrix are specifying the final vertices of the existing group of squares.  If you need each matrix point to generate a pixel try imagesc().

Rik <rik5>
Group administrator
Mon 28 Jul 2014 06:36:40 AM UTC, comment #2: 

pcolor_eye_4.png with R2014a


Anonymous
Mon 28 Jul 2014 06:08:05 AM UTC, comment #1: 

Could someone test 'pcolor (eye (4))' under Matlab and post the resulting plot?

According to the documentation, when the shading is faceted the last row and column of the matrix are not used which seems to imply that the result should be n-1 x n -1.


Rik <rik5>
Group administrator
Mon 28 Jul 2014 03:28:15 AM UTC, original submission:  

pcolor(eye(n)) only shows a (n-1)x(n-1) matrix.

pcolor(4) displays a 3x3 matrix

see attached png file.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31785:  pcolor_eye_4.png added by None (6KiB - image/png)
file #31782:  pcolor.png added by None (24KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-28 rik5 StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-07-28 None Attached File- Added pcolor_eye_4.png, #31785
    2014-07-28 rik5 StatusNone Need Info
    2014-07-28 None Attached File- Added pcolor.png, #31782

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code