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

CHINIT

CHINIT

Name


      CHINIT

Purpose


      Initializes chart setup. Good for viewgraphs.

Category


Calling Sequence


      chinit

Inputs


Keyword Parameters


Keywords


        /HARD means plot on postscript printer (else screen).
        /LAND means use landscape mode (else portrait mode).
        UNITS=u Set plot units to 'inches' (def) or 'cm'.
        BPOSITION=p scalar or array giving list of outline
          offsets in UNITS from edge of page. Def=no outline.
        BTHICKNESS=t scalar or array giving outline thicknesses
          for each outline given in BPOS. Def=1.
        XOFFSET=xoff Set chart X offset in UNITS (def=0).
        YOFFSET=yoff Set chart Y offset in UNITS (def=0).
        /MOVE means just move origin. The only other keywords
          recognized with /MOVE are XOFFSET and YOFFSET.
          /MOVE should be used on the second and later calls to
          CHINIT to reposition the position of graphics.
        WINSIZE=sz Multiply default screen window size by this factor.

Output Keywords


        LAST=lst Highest available plot color, returned.
        FONT=f "!17" for screen, null string for /HARD.
          Put in front of first string printed to make
          device independent.
        FACTOR=f text size factor. 1 for /HARD, 0.68 for screen.
          Multiply text size by this for device independence.
        Any extra PSINIT keywords may be passed in.

Outputs


Common Blocks


      chinit_com

Notes


      Notes: Also erases to white and sets default plot
        color to black. All plot commands may then be
        given in units of inches or cm, whichever were set.
        Plot size:
          Portrait: 7.5 by 10 inches (360 by 480 on screen)
          Landscape: 9.5 by 7 inches (640 by 472 on screen)
        The screen view is not always close to the hard copy.
        Spaces are handled differently, and strings that fit
        for the hardcopy are sometimes too long on the screen.

Modification History


      R. Sterner, 17 Aug, 1991
      R. Sterner, 9 Jan, 1992 --- added /MOVE, also common.
      R. Sterner, 1 Sep, 1992 --- added WINSIZE
      R. Sterner, 2005 Feb 16 --- Added _EXTRA=extra to pass color to psinit.
      R. Sterner, 2010 Apr 30 --- 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