Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- arrowedit

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
arrowedit
Synopsis
/infobank/programs/plt/naved/arrowedit.for
Description
  Subroutine to draw an arrow for NAVED.

       
AUTHOR
  Clint Steele             

    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call arrowedit                            (with the following arguments)
         PointNumber                 [variable i*4 r]
         Direction                   [variable char*5 r]
         TekWest                     [variable i*4 a]
         TekEast                     [variable i*4 a]
         TekSouth                    [variable i*4 a]
         TekNorth                    [variable i*4 a]
         WindowNumber                [variable i*4 r]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  csedst              (internal)                    
  movea               (external Tektronix)          
  rrotat              (external Tektronix)          
  drawr               (external Tektronix)          
    
LIMITATIONS
  NOTICE:

    LOCAL EDITABLES SET AND PASSED AS ARGUMENTS BUT NOT OTHERWISE REFERENCED:
      distance

    
Reads
Writes
Opens
Calls
      call dwindo (LongWestWindow (WindowNumber), 
     *             LongEastWindow (WindowNumber),
     *             LatSouthWindow (WindowNumber), 
     *             LatNorthWindow (WindowNumber))
      call twindo (TekWest, TekEast, TekSouth, TekNorth) 
              call csedst (Course,
     *                     Distance,
     *                     7, 
     *                     LatEdit  (PointNumber), 
     *                     LongEdit (PointNumber), 
     *                     LatEdit  (PointNumber + 1), 
     *                     LongEdit (PointNumber + 1) )
              call movea (LongEdit  (PointNumber),
     *                    LatEdit   (PointNumber) )
              call rrotat (360.0 - Course)
              call drawr (-10. * ArrowSize,               0.)
              call drawr ( 10. * ArrowSize,  40. * ArrowSize)
              call drawr ( 10. * ArrowSize, -40. * ArrowSize)
              call drawr (-10. * ArrowSize,               0.)
              call rrotat (0.)
              call csedst (Course,
     *                     Distance,
     *                     7, 
     *                     LatEdit  (PointNumber - 1), 
     *                     LongEdit (PointNumber - 1), 
     *                     LatEdit  (PointNumber), 
     *                     LongEdit (PointNumber) )
              call movea (LongEdit (PointNumber),
     *                    LatEdit  (PointNumber) )
              call rrotat (360.0 - Course)
              call drawr (-10. * ArrowSize, -40. * ArrowSize)
              call drawr ( 20. * ArrowSize,               0.)
              call drawr (-10. * ArrowSize,  40. * ArrowSize)
              call rrotat (0.)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/plt/naved/arrowedit.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:17 PDT 2013  (chd)