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

CM2NORM

CM2NORM

Name


      CM2NORM

Purpose


      Convert from cm to normalized coordinates.

Category


Calling Sequence


      cm2norm, xcm, ycm, xn, yn

Inputs


      xcm, ycm = coordinates of a point in cm. in
      poscm = plot page position in cm. in

Keyword Parameters


Outputs


      xn, yn = same point in normalized system. out
      or
      cm2norm, poscm, posn
        posn = page position in normalized system. out
          the page position arrays have the format: [x1,y1,x2,y2]
          where (x1,y1) = lower left corner,
          and (x2,y2) = upper right corner of plot area.

Common Blocks


Notes


      Notes: Be sure plot device is set first.
        For postscript plots call psinit first.

Modification History


      R. Sterner 13 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