Function returning a colourgradient function based on a specified ColourGradient
A ColourGradient
Whether the cg is an absolute scale or relative (between 0 and 1)
auto cg = ColourGradient!HCY(); cg.put( 0, HCY(200, 0.5, 0) ); cg.put( 100, HCY(200, 0.5, 0) ); GGPlotD().put( colourGradient( cg ) );
See Implementation
Function returning a colourgradient function based on a specified ColourGradient