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

PLOTPOS

PLOTPOS

Name


      PLOTPOS

Purpose


      Compute plot position for a plot of specified shape.

Category


Calling Sequence


      pos = plotpos(j, nx, ny)

Inputs


      j = plot position number (0 to nx*ny-1, def=0). in
      nx = number of plots across page or screen (def=1). in
      ny = number of plots down page or screen (def=1). in

Keyword Parameters


Keywords


        HWRATIO=hw plot window height/width ration (def=1.0).
        XMARGIN=xmar X axis margin (def=!x.margin).
        YMARGIN=ymar Y axis margin (def=!y.margin).
        CHARSIZE=csz Character size (def=!p.charsize).
        ORIGIN=org Origin of plot window in device coordinates.
        NORIGIN=norg Origin of plot window in normalized coords.
          Origins over-ride margins and plot position number.
        /NORMAL means return position in normalized coords (def).
        /DEVICE means return position in device coords.

Outputs


      pos = returned plot position. out
        Four element array: [xmn,ymn,xmx,ymx].

Common Blocks


Notes


Modification History


      R. Sterner, 15 Oct, 1993
      R. Sterner, 1994 Feb 7 --- Made args have defaults.
      R. Sterner, 1995 Apr 3 --- Added CHARSIZE.
      R. Sterner, 1995 Jun 22 --- Added NORIGIN=normalized origin.
  Copyright (C) 1993, 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