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






      Plot a curve in spherical polar coordinates.


Calling Sequence

      sphplot, lng, lat, rad, [code]


      lng = array of longitudes. in
      lat = array of latitudes in
      rad = array of radii (may be a scalar). in
      code = optional curve break code. in
        1=pen down, 0=pen up (don't connect to last point).

Keyword Parameters


        COLOR=c plot color.
        LINESTYLE=s plot linestyle.
          Over-rides defaults for visible and hidden points.
        THICK=t plot thickness.
        /HIDDEN plot hidden points.
        /ALL ignore visible hemisphere clipping, plot all.
        MAXRAD=r clip points using a sphere of radius r.
        /XYZ allows the call: sphplot, x, y, z, /xyz.
        PSYM=p set plot symbol.
        SYMSIZE=s set symbol size.
        XOUT=x returns array of plotted data coordinate X.
        YOUT=y returns array of plotted data coordinate Y.
        PEN=p returns array of pen codes for XOUT, YOUT.


Common Blocks



      Notes: Call SPHINIT first to set sphere orientation and
        point clipping to the visible hemisphere (def=front).
        Point clipping may alternatively be done using a
        clipping sphere defined by MAXRAD.

Modification History

      R. Sterner, 6 Feb, 1991
      R. Sterner, 1994 Dec 22 --- Allowed pen up/down code.
      R. Sterner, 1999 May 03 --- Fixed plotted point array bug (for no pts).
      R. Sterner, 1999 May 03 --- Added new keyword: /ALL
  Copyright (C) 1991, 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