[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


ONE_ARROW Source code in one_arrow.pro

ONE_ARROW

Name
       ONE_ARROW
Purpose
       Draws an arrow labeled with a single character on the current device
Explanation
       ONE_ARROW is called, for example, by ARROWS to create a
       "weathervane" showing the N-E orientation of an image.
Calling Sequence
       one_arrow, xcen, ycen, angle, label, CHARSIZE = , THICK = , COLOR =
                       ARROWSIZE=, FONT =  ]
Input Parameters
    xcen, ycen = starting point of arrow in device coordinates, floating
                       point scalars,
    angle      = angle of arrow in degrees counterclockwise from +X direction
    label      = single-character label (may be blank)
 OUTPUT PARAMETERS:  none
Optional Input Parameters
       CHARSIZE   = usual IDL meaning, default = 2.0
       THICK      = usual IDL meaning, default = 2.0
       COLOR      = usual IDL meaning, default = !P.COLOR
       ARROWSIZE  = 3-element vector defining appearance of arrow.
               Default = [30.0, 9.0, 35.0], meaning arrow is 30 pixels
               long; arrowhead lines 9 pixels long and inclined 35
               degrees from arrow shaft.
               If you try to use a non-TV device, you will probably
               want to change this.
       FONT - IDL vector font number to use (1-20).   For example, to write
               the 'N' and 'E' characters in complex script, set font=13
Example
       Draw an triple size arrow emanating from the point (212,224)
       and labeled with the character 'S'
       IDL> one_arrow,212,224,270,'S',charsize=3
Procedure
       Calls one_ray to vector-draw arrow.
Revision History
       Written by R. S. Hill, Hughes STX Corp., 20-May-1992.
       Added font keyword, W.B. Landsman Hughes STX Corp. April 1995
       Modified to work correctly for COLOR=0  J.Wm.Parker, HITC   1995 May 25
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:14 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically