home
download
class models
standard gui
custom gui
models
user guide
problems
  previous | up | next

ColorTable

an indexed color table

A ColorTable has a set of Ncol colors which can be indexed individually or mapped onto real values. In the latter case, they are spread uniformly between Cmin and Cmax with values beyond this range being colorless or set to the extreme values according to the fillAbove and fillBelow fields.

The color table does its best not to lose information as you change its size: each time you set a color manually, the present size of the table becomes the true resolution.
user interface: ColorTableEditor

    field     type       contents / default value    
Cmin double 0.0 variable: Cmin type: double
Cmax double 1.0 variable: Cmax type: double
Ncol integer 100 variable: Ncol type: integer
fillAbove boolean true variable: fillAbove type: boolean
fillBelow boolean true variable: fillBelow type: boolean