repa-algorithms-3.4.1.4: Algorithms using the Repa array library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Array.Repa.Algorithms.ColorRamp

Description

Hyprometric color ramps, for making pretty images from scalar data.

Synopsis

Documentation

rampColorHotToCold Source #

Arguments

:: forall a. (Ord a, Floating a) 
=> a

Minimum value of range.

-> a

Maximum value of range.

-> a

Data value.

-> (a, a, a) 

Standard Hot to Cold hypsometric color ramp. Color sequence is red, yellow, green, cyan, blue.