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

IMG_PLOTP

IMG_PLOTP

Name


      IMG_PLOTP

Purpose


      Do a plotp on a 24-bit image without using X windows.

Category


Calling Sequence


      img2 = img_plotp(img1,x,y,p)

Inputs


      img1 = Original image. in
      x,y = array of xy coordinates to plot. in
      p = optional pen code array. in
          0: move to point, 1: draw to point.

Keyword Parameters


Keywords


        COLOR=clr Plot color.
          May also be a 3 element array: [R,G,B].
        THICK=thk Thickness (def=!p.thick).
        LINESTYLE=sty Linestyle (def=!p.linestyle).
          Linestyle will not work well for antialiased plots.
        PSYM=psym Plot symbol (def=none).
        SYMSIZE=symsz Symbol size (def=1.).
        /DEVICE, /DATA (def), /NORMALIZED Coordinates to use.
        /ANTIALIASED means do antialiasing. A bit slower.
        /CLIP means clip to plot window (def=no clipping).
        ERROR=err Error flag: 0=ok.

Outputs


      img2 = returned image. out

Common Blocks


Notes


      Note: uses Z buffer, save a copy before if using Z.

Modification History


      R. Sterner, 2002 Jul 11
      R. Sterner, 2002 Nov 18 --- Must call with img, x, y.
      R. Sterner, 2010 May 12 --- Converted arrays from () to [].
  Copyright (C) 2002, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us