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

XCURVE

XCURVE

Name


      XCURVE

Purpose


      Draw a curve in the display window.

Category


Calling Sequence


      xcurve, x, y

Inputs


Keyword Parameters


Keywords


        /DATA means use data coordinates (default).
        /DEVICE means use device coordinates.
        /NORMAL means use normalized coordinates.
        /MAG means display a magnification window.
                Default mag is 10x, MAG=pwr to set to other.
        SIZE=sz Approx mag window size (def=200).
        STEP_MIN = minimum step size between points.
          Must be > 0 for data,normal, or >1 for device.
        /AUTOCENTER Automatically center current point if
          possible.
        XCOLOR=xclr Set plot color (def=white). A light gray
          about 200 works better if image has gray of 128
          which will hide the XOR lines. XCOLOR=tarclr(200).

Outputs


      x,y = coordinates of curve. out

Common Blocks


Notes


Modification History


      R. Sterner, 1994 Mar 28
      R. Sterner, 2000 Aug 08 --- Fixed repeated points. Still has erase
      problems.
      R. Sterner, 2002 Jul 24 --- Fixed mag window for 24-bit color.
      R. Sterner, 2004 Mar 08 --- Fixed long term bug in drop pts erase.
      R. Sterner, 2005 Sep 06 --- Added new keyword /AUTOCENTER.
      R. Sterner, 2005 Sep 07 --- Added a wait after point delete.
      R. Sterner, 2005 Sep 08 --- Fixed unerased last rubber band line.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
      R. Sterner, 2012 Nov 15 --- Added XCOLOR=xclr.
  Copyright (C) 1994, 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