octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61127] fill() color spec color spec is wrongl


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #61127] fill() color spec color spec is wrongly interpreted
Date: Wed, 8 Sep 2021 13:30:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?61127>

                 Summary: fill() color spec color spec is wrongly interpreted 
                 Project: GNU Octave
            Submitted by: dasergatskov
            Submitted on: Wed 08 Sep 2021 05:30:37 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.3.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61127>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]