Ignore:
Timestamp:
03/19/07 18:15:51 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Colors/getcolor.pro

    r163 r231  
    11;+ 
    22; 
    3 ; @file_comments  
     3; @file_comments 
    44; The original purpose of this function was to enable the 
    55; user to specify one of the 16 colors supported by the 
     
    1515; table offered on the IDL newsgroup by Liam Gumley.) 
    1616; 
    17 ; @categories Graphics, Color 
    18 ; 
    19 ; @param thisColor {in}{optional}  
     17; @categories 
     18; Graphics, Color 
     19; 
     20; @param thisColor {in}{optional} 
    2021; A string with the "name" of the color. Valid names are: 
    2122;           black 
     
    3940; Case is unimportant. 
    4041; 
    41 ; 
    42 ; @param index {in}{optional}  
     42; @param index {in}{optional} 
    4343; The color table index where the specified color should be loaded. 
    4444; 
     
    6868; 
    6969; 
    70 ; @keyword NAMES  
     70; @keyword NAMES 
    7171; If this keyword is set, the return value of the function is 
    7272; a 16-element string array containing the names of the colors. 
     
    7777; listID = Widget_List(baseID, Value=GetColor(/Names), YSize=16) 
    7878; 
    79 ; @keyword LOAD   
     79; @keyword LOAD 
    8080; If this keyword is set, all 16 colors are automatically loaded 
    8181; starting at the color index specified by the START keyword. 
     
    9696; IDL 5.2 and higher. 
    9797; 
    98 ; @keyword TRUE   
     98; @keyword TRUE 
    9999; If this keyword is set, the specified color triple is returned 
    100100; as a 24-bit integer equivalent. The lowest 8 bits correspond to 
     
    104104; were set. 
    105105; 
    106 ; @restrictions  
     106; @restrictions 
    107107; The TRUE keyword causes the START keyword to be ignored. 
    108 ; The NAMES keyword causes the COLOR, INDEX, START, and TRUE parameters to be  
     108; The NAMES keyword causes the COLOR, INDEX, START, and TRUE parameters to be 
    109109; ignored. 
    110110; The COLOR parameter is ignored if the LOAD keyword is used. 
     
    113113; returned if color decomposition is ON. 
    114114; 
    115 ; @examples  
     115; @examples 
    116116; To load a yellow color in color index 100 and plot in yellow, type: 
    117117; 
     
    177177;      IDL> PLOT, data, Color=colors.yellow 
    178178; 
    179 ; @history  
     179; @history 
    180180; Written by: David Fanning, 10 February 96. 
    181181; Fixed a bug in which N_ELEMENTS was spelled wrong. 7 Dec 96. DWF 
     
    187187; Added LOAD AND START keywords. 7 June 99. DWF. 
    188188; 
    189 ; @version $Id$ 
     189; @version 
     190; $Id$ 
    190191;- 
    191  
     192; 
    192193FUNCTION getcolor, thisColor, index, TRUE=truecolor, $ 
    193194   NAMES=colornames, LOAD=load, START=start 
Note: See TracChangeset for help on using the changeset viewer.