bugGNU Octave - Bugs: bug #56975, area plot insensitive to colormap

 
 

bug #56975: area plot insensitive to colormap

Submitter:  Muhali <muhali>
Submitted:  Tue 01 Oct 2019 09:09:38 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Oct 2019 05:17:25 AM UTC, comment #1: 

Which version of Matlab are you using?  In R2019b there is no effect when changing colormap.  For documentation, see https://www.mathworks.com/help/matlab/ref/area.html.

It appears that you need to use


area (Y, 'facecolor', 'flat')
colormap summer


in order to have the colors depend on the colormap.  This syntax works in Octave.  This works on the dev branch, but is partially broken on 5.1.0.

Rik <rik5>
Group administrator
Tue 01 Oct 2019 09:09:38 AM UTC, original submission:  

The colormap command in this example


Y = [1, 5, 3;
    3, 2, 7;
    1, 5, 3;
    2, 6, 1];
area(Y)
colormap summer


has no effect, unlike in Matlab.

Muhali <muhali>

 

(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 muhali (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
    2019-10-04 rik5 Open/ClosedOpen Closed
    2019-10-02 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code