USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- box Skip navigational links
    ________   ________   ______________   ________   _________   _______________   ________  
  tab edge  Home  tab edge  Data  tab edge  Activities  tab edge  FACS  tab edge  Atlas  tab edge  Definitions  tab edge  More  tab edge  
   
InfoBank Programs: by Name   by Data Type   General Tools   GIS   Plotting   Web   USGS Disclaimer   InfoBank Programs
   
Expanded description
Topic Description
Name
box
Synopsis
/infobank/programs/plt/timeprof/src/box.for
Description
  Subroutine draws a box around the legend with lines separating 
  sections of the legend. 
    
Usage
  call border (XStart, YStart, XLength, YLength, 

               LinesArray, ArraySize)
  Input:
    XStart, YStart = coordinates of lower left corner of border in
                     plotter units.
    XLength, YLength = length of sides of border in plotter inches.
    LinesArray = array of y coordinate locations at which to draw a 
                 horizontal line XLength long.
    ArraySize  = number of elements in LinesArray.
  Output: none
    
Subroutines
  newpen (Calcomp)

  plot   (Calcomp)
    
Disclaimer
  Although this program has been used by the U.S. Geological Survey,

  no warranty, expressed or implied, is made by the Survey as to the
  accuracy and functioning of the program and related program
  material nor shall the fact of distribution constitute any such
  warranty, and no responsibility is assured by the Survey in
  connection therewith.
    
Author
  Ed Maple       9/11/89

  Clint Steele   8/14/90        cleanup

    
Calls
 call newpen (1)
 call plot (XStart, YStart, PenUp)
 call plot (XStart + XLength, YStart, PenDown)
 call plot (XStart + XLength, YStart + YLength,
*           PenDown)
 call plot (XStart, YStart + YLength, PenDown)
 call plot (XStart, YStart, PenDown)
         call plot (XStart, Lines (Element), PenUp)
         call plot (XStart + XLength, Lines (Element), PenDown)
    

Skip footer navigational links

InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program  
 
U. S. Department of the Interior   U. S. Geological Survey   Geologic Information   Ask-A-Geologist   USGS privacy statement   Disclaimer  

URL: /infobank/programs/plt/timeprof/src/box.doc.html
Maintainer: Clint Steele
Last modified: Fri Oct 11 03:10:55 PDT 2002  (wcs)