repa-algorithms-3.2.1.1: Algorithms using the Repa array library.

Safe HaskellNone

Data.Array.Repa.Algorithms.ColorRamp

Description

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

Synopsis

Documentation

rampColorHotToColdSource

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.