>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  COLOR_CODE

COLOR_CODE

COLOR_CODE

Name


      COLOR_CODE

Purpose


      Color code a range of value.

Category


Calling Sequence


      clr = color_code(val)

Inputs


Keyword Parameters


Keywords


        V1=v1, V2=v2 Start and end values to code (def=min, max).
        H1=h1, H2=h2 Start and end Hues (def=0, 300).

Outputs


Common Blocks


Notes


      Note: Sat and Val are set to 1.

Modification History


      R. Sterner, 2006 Apr 16
      R. Sterner, 2008 Jun 27 --- Fixed loop limit.
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
  Copyright (C) 2006, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us