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

IMGUNDER

IMGUNDER

Name


      IMGUNDER

Purpose


      Display image in same area as last plot.

Category


Calling Sequence


      imgunder, z

Inputs


      z = scaled byte image to display. in
        May be an 8-bit byte array or a 24-bit color image.

Keyword Parameters


Keywords


        /INTERP causes bilinear interpolation to be used,
          otherwise nearest neighbor interpolation is used.
          No interpolation used for PS plots so /INTERP
          has no effect.
        /CENTER means use centered pixels.
        XFRAC=[xmn,xmx] Fraction of image to use in x (def 0 to 1).
        YFRAC=[ymn,ymx] Fraction of image to use in y (def 0 to 1).
        /NODATA means just return without displaying anything.

Outputs


Common Blocks


Notes


      Notes: Do plot,/nodata first to setup plot area,
        then use imgunder to display image, then repeat
        plot with data, but with /noerase.

Modification History


      R. Sterner, 15 Feb, 1991
      R. Sterner, 2 Dec, 1993 --- Added /minus_one to congrid call.
      R. Sterner, 1996 Jun 14 --- Made dy be dy+1 in congrid.
      R. Sterner, 1996 Dec 2 --- Switched to congrid2 to allow
      correct interpolation. Also added /CENTER keyword.
      R. Sterner, 1997 Mar 5 --- Made PS do 1/2 point pixels (was 1).
      R. Sterner, 2000 Apr 20 --- Added /NODATA keyword.
      R. Sterner, 2001 Oct 23 --- Attempting to correct a shift for /int.
      R. Sterner, 2002 Mar 29 --- Upgraded for 24-bit color.
      R. Sterner, 2002 Apr 15 --- Rounded plot window coordinates.
      R. Sterner, 2004 Jun 02 --- Fixed for true color Postscript images.
      R. Sterner, 2010 May 23 --- Converted arrays from () to [].
  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