bugGNU Octave - Bugs: bug #59998, Add "turbo" colormap

 
 

bug #59998: Add "turbo" colormap

Submitter:  CH <atcl>
Submitted:  Wed 03 Feb 2021 04:34:59 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
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 04 Feb 2021 12:40:09 AM UTC, comment #5: 

Checked in the change here: http://hg.savannah.gnu.org/hgweb/octave/rev/fe21f065fc23.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Wed 03 Feb 2021 10:19:05 PM UTC, comment #4: 

Please credit me with: Christian Himpe

CH <atcl>
Wed 03 Feb 2021 09:33:13 PM UTC, comment #3: 

This looks very good.  I made a few minor changes and it is ready to be checked in.  Do you wish to be credited in the log file and/or in the list of contributors to Octave that appears at the start of the manual?  If so, we usually use the format "First_Name Last_Name <email@address>".  If you don't care, or prefer to remain anonymous, I can check it in under my credentials.

Rik <rik5>
Group administrator
Wed 03 Feb 2021 06:42:40 PM UTC, comment #2: 

Here is a variant based on viridis and the turbo lookup table. Is this sufficient?

(file #50832)

CH <atcl>
Wed 03 Feb 2021 05:40:37 PM UTC, comment #1: 

That is a nice colormap replacement for Jet.  They provide both a lookup table implementation as well as a polynomial approximation.  Either would probably be fine.

Colormaps are simply m-files in Octave so very easy to code.  You might take a look at viridis.m for an example of translating a lookup table colormap to an m-file.

Rik <rik5>
Group administrator
Wed 03 Feb 2021 04:34:59 PM UTC, original submission:  

Since 2020b, MATLAB features google-ai's "turbo" colormap:

https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html

I think this would be useful addition to the perceptually uniform colormaps, i.e. viridis.

CH <atcl>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50832:  turbo.m added by atcl (14KiB - text/x-objcsrc)

 

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 atcl (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-04 rik5 StatusPatch Reviewed Fixed
        Open/ClosedOpen Closed
    2021-02-03 rik5 StatusConfirmed Patch Reviewed
    2021-02-03 atcl Attached File- Added turbo.m, #50832
    2021-02-03 rik5 Item GroupMatlab Compatibility Feature Request
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code