colormap - optional argument that sets a colormap from predefined colormaps. Available colormaps are : "rainbow", "cooltowarm", "blackbody".
numberOfColors - optional argument that sets the number of colors used to represent the data array.
colormap - Sets a colormap from predefined colormaps. Available colormaps are : *rainbow*, *cooltowarm*, *blackbody*, *grayscale*. Default is *rainbow*.<br/>
count - Sets the number of colors used to represent the data array. Default is *32*.
</p>
<h2>Properties</h2>
<h3>[property:Float minV]</h3>
<h3>[property:Array lut]</h3>
<p>
The minimum value to be represented with the lookup table. Default is 0.
The lookup table for the selected color map represented as an array of [page:Color]s.
</p>
<h3>[property:Float maxV]</h3>
<h3>[property:Array map]</h3>
<p>
The maximum value to be represented with the lookup table. Default is 1.
The currently selected color map. Default is the *rainbow* color map.
</p>
<h3>.[legend]</h3>
<h3>[property:Number minV]</h3>
<p>
The legend of the lookup table.
The minimum value to be represented with the lookup table. Default is *0*.
colormap - Sets a colormap from predefined colormaps. Available colormaps are : *rainbow*, *cooltowarm*, *blackbody*, *grayscale*. Default is *rainbow*.<br/>
count - Sets the number of colors used to represent the data array. Default is *32*.
</p>
<h2>属性</h2>
<h3>[property:Float minV]</h3>
<h3>[property:Array lut]</h3>
<p>
查找表所表示的最小值,默认为0。
The lookup table for the selected color map represented as an array of [page:Color]s.
</p>
<h3>[property:Float maxV]</h3>
<h3>[property:Array map]</h3>
<p>
查找表所表示的最小值,默认为1。
The currently selected color map. Default is the *rainbow* color map.
</p>
<h3>.[legend]</h3>
<h3>[property:Number minV]</h3>
<p>
查找表的图例。
The minimum value to be represented with the lookup table. Default is *0*.