bugGNU Octave - Bugs: bug #34559, patch(x,y,RGB) should have empty...

 
 

bug #34559: patch(x,y,RGB) should have empty cdata & facecolor = RGB

Submitter:  Ben Abbott <bpabbott>
Submitted:  Sat 15 Oct 2011 07:47:11 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Ben Abbott Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Nov 2011 10:24:16 PM UTC, comment #1: 
Michael Goffioul <goffioul>
Sat 15 Oct 2011 07:47:11 PM UTC, original submission:  

From Matlab


figure (3)
clf
colormap (jet (64))
x = [0; 1; 1];
y = [0; 0; 1];
z = [1; 1; 1];
h = patch (x, y, [1 0 1])
cdata = get (h, 'cdata')

cdata =

     []

facecolor = get (h, 'facecolor')

facecolor =

     1     0     1


Ocave gives


get (h, 'cdata')
ans =

   1
   0
   1

get (h, 'facecolor')
ans = interp


Ben Abbott <bpabbott>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bpabbott (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-28 goffioul StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code