string colorRamp(string gradient, float value)
Selector for different color ramp presets. Supported values are: "whiteToBlack","greenToRed","yellowToRed","redToBlue","orangeToBlue","brownToBlue","spectrum".
A value between 0 and 1.
Hex color value from a color ramp (selected with gradient) according to the given value. Means the value is mapped on the color ramp and the corresponding color is returned.
Yellow to red color ramp
@Range(0,1) attr colorValue = 1 @StartRule Shape --> color ( colorRamp("yellowToRed",colorValue))
To visualize datasets, 'normalize' the values to the [0-1] range with the function " x_norm = 1 / (max - min) * (x - min) ".
Ramp example images based on a GIS dataset
yellow to red :
red to blue :
green to red :
white to black :
orange to blue :
brown to blue :
Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.