next up previous contents index
Next: REPLICATE Up: GTVL Language Internal Help Previous: IMPORT

LUT

 

        [GTVL\]LUT Argum [/PEN]

    Modify the bitmap or pen look up table. Option /PEN indicates to  modify
    the  the  value  of  the  16 user-controlled pen colors (colors 8 to 23)
    rather than the bitmap look-up table.

    Possibles arguments  are
      - COLOR Load a default color table
      - WHITE Load a black and white color table  (White  background,  black
        sources)
      - BLACK Load a black and white color table  (Black  background,  white
        sources).
      - LUT Load the color table defined by the Hue array  HUE.   Saturation
        and  lightness  are  defined  by  variables SATURATION and LIGHTNESS
        respectively. The HUE array can be obtained from  the  original  LUT
        array using standard SIC mathematic functions.
      - EDIT Call the interactive LUT editor  (on  X-Window  systems  only).
        Plot a color wedge on the screen to display the current color lookup
        table.  The wedge is by default 16 pixels in height, 0.8  times  the
        image window width in width.
      - Any other : Red Green Blue values are read from the  formatted  file
        named "Argum".

    The default argument is LUT. A convenient value for the HUE array is
      LET HUE[I] = 256-2*I
        a "classical" color table from blue to  red  as  used  in  AIPS  for
        example.  Color contours can be obtained using variations around the
        following command
      LET HUE[I] = 16*INT((256-2*I)|16)
        and so on with the most funny functions you may invent.

    CAUTION : the HUE is a real number between 0 and 360.0


lucas@iram.fr