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

 
 

bug #42856: pcolor has bug

Submitted by:  None
Submitted on:  Mon 28 Jul 2014 03:28:15 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: InvalidAssigned to: None
Originator Name: Milo westlerOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
Mon 28 Jul 2014 06:36:40 AM UTC, comment #2:

pcolor_eye_4.png with R2014a

(file #31785)

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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
    Mon 28 Jul 2014 03:16:53 PM UTCrik5StatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Mon 28 Jul 2014 06:36:40 AM UTCNoneAttached File-=>Added pcolor_eye_4.png, #31785
    Mon 28 Jul 2014 06:08:05 AM UTCrik5StatusNone=>Need Info
    Mon 28 Jul 2014 03:28:15 AM UTCNoneAttached File-=>Added pcolor.png, #31782

    Back to the top


    Powered by Savane 3.1-cleanup1