>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ARCS

ARCS

ARCS

Name


      ARCS

Purpose


      Plot specified arcs or circles on the current plot device.

Category


Calling Sequence


      arcs, r, a1, a2, [x0, y0]

Inputs


      r = radii of arcs to draw (data units). in
      [a1] = Start angle of arc (deg CCW from X axis, def=0). in
      [a2] = End angle of arc (deg CCW from X axis, def=360). in
      [x0, y0] = optional arc center (def=0,0). in

Keyword Parameters


Keywords


        /DEVICE means use device coordinates .
        /DATA means use data coordinates (default).
        /NORM means use normalized coordinates.
        /NOCLIP means do not clip arcs to the plot window.
        COLOR=c plot color (scalar or array).
        LINESTYLE=l linestyle (scalar or array).
        THICKNESS=t line thickness (scalar or array).
        XOUT=x, YOUT=y, PEN=p returned x,y, and pencode
          of plotted radii. Can replot using plotp,x,y,p
        /NOCLOSE Do not close the returned curve (x,y,p).
        /NOPLOT do not plot the arcs.

Outputs


Common Blocks


Notes


      Note: all parameters may be scalars or arrays.

Modification History


      Written by R. Sterner, 12 July, 1988.
      Johns Hopkins University Applied Physics Laboratory.
      RES 15 Sep, 1989 --- converted to SUN.
      R. Sterner, 17 Jun, 1992 --- added coordinate systems, cleaned up.
      R. Sterner, 1997 Feb 24 --- Added THICKNESS keyword.
      R. Sterner, 2005 Feb 15 --- Added XOUT, YOUT, PEN keywords.
      R. Sterner, 2008 Jul 16 --- Added /NOPLOT and closed returned curve.
      R. Sterner, 2010 Apr 14 --- Added /NOCLOSE and changed some () to [].
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
      R. Sterner, 2011 Mar 16 --- Made /noclip default for /device.
  Copyright (C) 1988, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us