Class ColorMapRainbow

java.lang.Object
org.jzy3d.colors.colormaps.AbstractColorMap
org.jzy3d.colors.colormaps.ColorMapRainbow
All Implemented Interfaces:
IColorMap

public class ColorMapRainbow extends AbstractColorMap implements IColorMap
A rainbow colormap is a progressive transition from blue, to green and then red. The input is normalized according to the colormap boundaries (through setZmin()/setZmax()). The mix between these 3 colors, may be expressed by the definition of 3 functions:

      blue     green     red
    /-------\/-------\/-------\
   /        /\       /\        \
  /        /  \     /  \        \
 /        /    \   /    \        \
|----------------|----------------|
0               0.5               1

  • Constructor Details

    • ColorMapRainbow

      public ColorMapRainbow()
  • Method Details