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






      Generate and load a random color table (CT).


Calling Sequence



Keyword Parameters


        RED=r Returned red array. out
        GREEN=g Returned green array. out
        BLUE=b Returned blue array. out
        SMOOTH=w smoothing window width (def = 31). in
        SDEV=s standard deviation (def = 64). in
        /WHITE forces top color to be white.
        WHITE=N forces color N to be white.
        /RAMP make a table that goes from dark to light.
        /SAWTOOTH make a CT where colors ramp from dark to light. 8 teeth.
        SAWTOOTH=N A sawtooth CT with each tooth being N values long.
        /NOLOAD inhibits CT load.
        /GETSEED returns the random number seed use to make
            the last CT. The call is: makevlt, seed, /GETSEED
        SEED=value sets the color table seed (can use to remake a CT).
        /RANDOM A completely random CT but with 0=black, 255=white.
        BRIGHT=nb Bright line table: all black but nb (def=20) bright lines


Common Blocks



Modification History

      R. Sterner. 20 May, 1986.
      R. Sterner, 12 Feb, 1993 --- Added /BRIGHT
      R. Sterner, 1994 Feb 22 --- Modified to match new makey.
      R. Sterner, 1994 Sep 27 --- Fixed color clipping problem.
      R. Sterner, 1998 Jan 15 --- Dropped use of !d.n_colors.
  Copyright (C) 1986, 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.

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