>  Docs Center  >  Libraries  >  Motley  >  MGH_CUSTOM_CT
Libraries

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.
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us