bugGNU Octave - Bugs: bug #61127, fill() color spec color spec is...

 
 

bug #61127: fill() color spec color spec is wrongly interpreted

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Wed 08 Sep 2021 05:30:37 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 16 Sep 2021 04:22:39 PM UTC, comment #1: 

I fixed this on the development branch in this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/a150f1945ad0.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Wed 08 Sep 2021 05:30:37 PM UTC, original submission:  

As reported in https://octave.discourse.group/t/the-color-of-my-triangle-doesnt-change/1556

According to the "help fill"


 If C is a vector or matrix then the color data is first
     scaled using 'caxis' and then indexed into the current colormap.  A
     row vector will color each polygon (a column from matrices X and Y)
     with a single computed color.  A matrix C of the same size as X and
     Y will compute the color of each vertex and then interpolate the
     face color between the vertices.


this becomes ambiguous if size of each X, Y, and C is 3 because
C could also be an RGB triad ([ r g b]).

Dmitri.

Dmitri A. Sergatskov <dasergatskov>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by dasergatskov (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-16 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Release6.3.0 dev

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code