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

MAKE_RULER

MAKE_RULER

Name


      MAKE_RULER

Purpose


      Plot linear scales on the laser printer.

Category


Calling Sequence


      make_ruler, file

Inputs


Keyword Parameters


Keywords


        PRINTER = postscript printer number (1=def or 2).
        /LIST to list control file lines as processed.
        /NOPLOT means just generate idl.ps but do not print it.

Outputs


Common Blocks


Notes


Notes


        Control file format:
        * in column 1 for comment lines.
        CF = conversion_factor cm per UNIT
          Set a conv. fact. & unit name. Ex CF = 2.54 cm per inch.
          Must be number of cm per unit. Used for LENGTH & TICS.
          Default is cm.
        LENGTH = len
          Set ruler length in UNITS.
        XY = x, y
          Set ruler left side in cm from origin and draw line.
          Must do LENGTH before XY.
        LABELS = L1, L2, dL, y, s
          Sets up labels to be used on next TICS command.
          L1, L2, dL = label start, stop, step values.
          y = label position in cm above ruler line.
          s = label size.
        The following coord. are relative to ruler's left side.
        TICS = x1, x2, dx, dy
          Draws tic marks.
          x1, x2, and dx are tic x start, stop and step in UNITS.
          dy is tic length in cm. (Do labels first if labeled).
        TEXT = x, y, j, s, text string
          x,y = text position in cm relative to XY position.
          J = justification: L = left, C = centered, R = right.
          text string = text to print.
        TYPE = text string
          text string = message to display on terminal screen.

Modification History


      R. Sterner. 12 Sep, 1988.
      Johns Hopkins University Applied Physics Laboratory.
      RES 15 Sep, 1989 --- converted to SUN.
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 1988, 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