Ignore:
Timestamp:
07/07/06 11:57:27 (18 years ago)
Author:
navarro
Message:

english and nicer header (1)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Utilities/text_box.pro

    r132 r133  
    11;+ 
    2 ; Name        : text_box 
    32; 
    4 ; Purpose     : Writes a text message within a box in a graphics window. 
     3; @file_comments  
     4; This procedure writes a short text message within a box-shaped 
     5; area in a graphics window.  The message may be split at word 
     6; boundaries into several lines, and the character size and 
     7 ;orientation may be adjusted for the text to fit within the box. 
     8;    
     9; @param TEXT {in}{required} ASCII text string containing the message. 
    510; 
    6 ; Description:  This procedure writes a short text message within a box-shaped 
    7 ;               area in a graphics window.  The message may be split at word 
    8 ;               boundaries into several lines, and the character size and 
    9 ;               orientation may be adjusted for the text to fit within the box. 
    10 ; 
    11 ; Useage:       text_box,text,pos=pos,color=color,$ 
    12 ;                    justify=justify,vert_space=vert_space 
    13 ; 
    14 ; Inputs       
    15 ; TEXT          ASCII text string containing the message. 
    16 ; 
    17 ; keywords 
    18 ;  pos          4 element vector specifying the box position and size 
     11; @keyword pos  4 element vector specifying the box position and size 
    1912;               pos[0],pos[1] specify the lower left corner coordinate 
    2013;               pos[2],pos[3] specify the upper right corner coordinate 
    2114;               data window normalized coordinates are use 
    2215; 
    23 ;   fg_color    color of box and legend titles (default=0) 
     16; @keyword fg_color color of box and legend titles (default=0) 
    2417; 
    25 ;   bg_color    background color. Setting BG_COLOR erases the area  
     18; @keyword bg_color background color. Setting BG_COLOR erases the area  
    2619;               covered by the text box (filling it with color BG_COLOR) 
    2720;               prior to writing the text.  If both BG_COLOR and !p.color 
     
    2922;               gaurantee a readability. 
    3023;                
    31 ;  right        if set, right justify text 
    32 ;  center       if set, center the text 
     24; @keyword right if set, right justify text 
    3325; 
    34 ;  vert_space   vertical spacing of lines in units of character height  
    35 ;               (default = 1.5) 
     26; @keyword center if set, center the text 
    3627; 
     28; @keyword vert_space {default=1.5}vertical spacing of lines in units of character height 
    3729; 
    38 ;  author:  Paul Ricchiazzi                            7Jul93 
     30; @keyword _EXTRA used to pass your keyword 
     31; 
     32; @keyword box activate to show the box on graphics window. 
     33; 
     34; @history  Paul Ricchiazzi                            7Jul93 
    3935;           Institute for Computational Earth System Science 
    4036;           University of California, Santa Barbara 
     37; 
     38; @version $Id$ 
     39; 
    4140;- 
    4241PRO text_box,text,pos=pos,fg_color=fg_color,bg_color=bg_color,$ 
Note: See TracChangeset for help on using the changeset viewer.