Name : text_box
Purpose : Writes a text message within a box in a graphics window.
Description: This procedure writes a short text message within a box-shaped
area in a graphics window. The message may be split at word
boundaries into several lines, and the character size and
orientation may be adjusted for the text to fit within the box.
Useage: text_box,text,pos=pos,color=color,$
justify=justify,vert_space=vert_space
Inputs
TEXT ASCII text string containing the message.
keywords
pos 4 element vector specifying the box position and size
pos[0],pos[1] specify the lower left corner coordinate
pos[2],pos[3] specify the upper right corner coordinate
data window normalized coordinates are use
fg_color color of box and legend titles (default=0)
bg_color background color. Setting BG_COLOR erases the area
covered by the text box (filling it with color BG_COLOR)
prior to writing the text. If both BG_COLOR and !p.color
are zero then the background color is reset to 255 to
gaurantee a readability.
right if set, right justify text
center if set, center the text
vert_space vertical spacing of lines in units of character height
(default = 1.5)
author: Paul Ricchiazzi 7Jul93
Institute for Computational Earth System Science
University of California, Santa Barbara