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

WIN_SIZE_SHAPE

WIN_SIZE_SHAPE

Name


      WIN_SIZE_SHAPE

Purpose


      Find window size & shape needed to display a specified image.

Category


Calling Sequence


      win_size_shape, nx, ny

Inputs


      nx, ny = Image size in x and y (pixels). in

Keyword Parameters


Keywords


        MAXIMG=mx Longest side of displayed image (pixels),
          default is longest image side.
        XWIN=xsz,YWIN=ysz Returned needed window size in
          x and y (pixels).
        POSITION=pos Returned plot area position.
          Use for izoom.
        /DEVICE Return pos in device coordinates, else normalized.
        XMAR1=xm1, XMAR2=xm2 Left and right margins (def=70,30).
        YMAR1=ym1, YMAR2=ym2 Bottom and top margins (def=60,30).

Outputs


Common Blocks


Notes


      Notes: Intended to find the size and shape of a window
        used to display an array using izoom. Can also use for
        the plot command.

Modification History


      R. Sterner, 2004 Apr 22
      R. Sterner, 2007 Jan 16 --- Made default MAXIMG = longest image side.
  Copyright (C) 2004, 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