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

SUBNORMAL

SUBNORMAL

Name


      SUBNORMAL

Purpose


      Convert from subnormal coordinates to normalized coord.

Category


Calling Sequence


      subnormal, xsn, ysn, xn, yn

Inputs


      xsn, ysn = a point in sub-normal coordinates. in
      psn = position parameter in sub-normal coordinates. in

Keyword Parameters


Keywords


        /CM means that (xsn,ysn) or psn is specified in cm instead
            of sub-normal coordinates.
        WINDOW=n Sets the subwindow to use. Over-rides !p.multi.
            If n > # subwindows then subnormal automatically wraps n.
        /LASTWINDOW uses last plot window.

Outputs


      xn, yn = point converted to normalized coordinates. out
      or
      subnormal, psn, pn
        pn = position parameter converted to normalized coordinates. out
          where the position parameter has the format: [x1,y1,x2,y2]
          with (x1,y1) being the lower left corner of the plot,
          and (x2,y2) being the upper right corner of the plot.
          If x2 or y2 is 0 (but not both) the plot is forced to be square.

Common Blocks


Notes


      Notes: Sub-normal coordinates range from 0 to 1 in the plot sub-area.
        These coordinates arise for multiple plots per pages obtained by
        using !p.multi. The position keyword always works in normalized
        coordinates which always range from 0 to 1 for the entire plot area.
        Ex: subnormal,[.2,.2,.8,.8],p & plot,x,y,position=p
        For multiple page plots subnormal must be called before each plot.
        For single points: subnormal,.3,.7,xn,yn & xyouts,xn,yn,'test',/norm.
          (Must use keyword /norm in xyouts to force normalized coordinates,
            plot position keyword uses normalized coordinates by default).

Modification History


      R. Sterner, 12 Nov, 1989
  Copyright (C) 1989, 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