Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / Motley / MGH_CUSTOM_CT

MGH_CUSTOM_CT

MGH_CUSTOM_CT

Name


  MGH_CUSTOM_CT

Purpose


  Add several custom colour tables to the colour-table file

Category


  Graphics
  Color Specification.

Calling Sequence


  MGH_CUSTOM_CT

Keyword Parameters


  BACKUP (input, switch)
    This keyword controls whether a backup copy is made of the
    colour table file. Default is 1 (make a backup). Set it to 0 to
    inhibit the backup.
  CLOBBER (input, switch)
    This keyword controls whether an existing backup file will be
    replaced, if necessary. Default is 0 (don't replace).
  FILE (input, scalar string)
    The name of the colour table file to be modified. Default is
    the value of the system variable !MGH_CT_FILE or, failing that,
    the IDL default: '<IDL_DIR>/resource/colors/colors1.tbl'.
  RESTORE (input, switch)
    Set this keyword to restore the backup copy of the colour table
    file.
  START (input, scalar integer)
    The index at which the first of the additional tables is
    loaded. Default is 41, which is equal to the first vacant index
    in resource/colors/colors1.tbl.

Side Effects


  The colour table file is modified. If the BACKUP keyword is set
  then a copy of the colour table file is created.
###########################################################################
  Copyright (c) 2000-2014 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2001-10:
    Written.
  Mark Hadfield, 2005-08:
    - Added CLOBBER keyword.
    - Added several Matlab colour tables.
    - Colour table names may now be set individually.
  Mark Hadfield, 2011-10:
    - Added a colour table suitable for plots of quantities like speed.
  Mark Hadfield, 2011-11:
    - Discovered and fixed a bug: duplicate indices in the CASE statement
      meant that Matlab Cool was omitted.
  Mark Hadfield, 2014-08:
    - Modified the 'MGH Special 4' colour table: added a white band in the
      middle. Much better! Also substituted a light red for yellow for small
      positive values.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us