% @(#)modifylut.hlq	19.1 (ESO-IPG) 02/25/03 14:03:30
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      modifylut.hlq
%.AUTHOR     KB, IPG/ESO
%.KEYWORDS   MIDAS, help files, MODIFY/LUT
%.PURPOSE    On-line help file for the command: MODIFY/LUT
%.VERSION    1.0  07-SEP-1989 : Creation, KB
%----------------------------------------------------------------
\se
SECTION./LUT
\es\co
MODIFY/LUT					07-SEP-1998  KB
\oc\su
MODIFY/LUT [method] [colour] [prflag]
	modify the currently active LUT
\us\pu
Purpose: 
          Modify the currently active colour lookup table (LUT).
\up\sy
Syntax: 
          MODIFY/LUT [method] [colour] [prflag]
\ys\pa
          method = BAND, for overlaying a one colour band on the LUT
\\
                 = ROTATE, for rotating the offset of one or all colours of LUT
\\
                 = GRAPH, for changing interactively slope and intercept of LUT
\\
                 = SQEEZE, for squeezing/stretching of LUT and moving the offset
\\
                 = HSI, for modifying in H(ue), S(aturation),I(ntensity) space;
\\
                 defaulted to BAND
\ap\pa
          colour  = colour(s) we want to work with:
\\
            for BAND: RED, GREEN, BLUE, WHITE, DARK, YELLOW, PINK,
                      BROWN, ORANGE and VIOLET (default = RED)
\\
            for ROTATE: RED, GREEN, BLUE or ALL (default = ALL)
\\
            for GRAPH: RED, GREEN, BLUE or ALL (default = ALL)
\\
            for SQUEEZE not applicable - all colours are affected
\\
            for HSI: HUE, SATURATION or INTENSITY (default = HUE)
\ap\pa
          prflag = only used for method BAND:
\\
            Y(es) or N(o) for displaying the intensity interval corrsponding to
            the chosen band, defaulted to No
\ap\sa
See also:
          MODIFY/ITT, TUTORIAL/LUT, DISPLAY/LUT, GET/LUT, LOAD/LUT
\\
          EQUALIZE/HISTOGRAM
\as\no
Note:
          Use the or arrow keys to modify the LUT. Press the EXIT button on the
          mouse (rightmost button) to terminate.
\\
          For the method BAND you can also enter the colour as three integers,
          like r,g,b defining the RGB values or as 0xrrggbb in hex. notation.
\\
          If invalid method or colour is entered, the defaults are taken.
\\
          For method ROTATE you must start rotating towards the right.
\\
          To save your new, modified LUT use the command GET/LUT which will
          create a copy of the current LUT in MID_WORK.
\on\exs
Examples:
\ex
          MODIFY/LUT ROTATE GREEN
            Rotate only the green colour of current LUT.
\xe \ex
          MODIFY/LUT BAND 255,127,0
            Put an orange band over LUT.
\xe \ex
          MODIFY/LUT band 0xff7f00
            Same as above specifying the colour in hex. notation.
\xe \sxe
