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

AXIS2

AXIS2

Name


      AXIS2

Purpose


      General axis routine for screen.

Category


Calling Sequence


      axis2, ix0,iy0

Inputs


      ix0,iy0 = Axis reference point in device coordinates. in

Keyword Parameters


Keywords


        RANGE=rng Axis range: [min,max] (def=[0,100]).
        SIDE=side Ticks and labels: 0=below (def), 1=above axis.
        LENGTH=len Length of axis in pixels.
        TITLE=ttl Axis title (def=none).
        ALIGN=aln Alignment of axis with reference point.
          Fraction of way reference point is from axis start to
          axis end. Like align in xyouts. Def=0.
        TALIGN=taln. Axis title placement. 3 values only:
          0: title is on left of axis, .5: title at midaxis (def),
          1: title is on right of axis, -1 for no title.
        TICKLENGTH=tk Ticklength in pixels (def=8).
        LABOFF=off Label offset in tick lengths (def=1.5).
        /NOLABELS means plot ticks but not labels.
        /FLIP means flip labels and title 180 degrees.
        TSPACE=tspac Labeled tick spacing in pixels (def=50).
        TDELTA=tdel Labeled tick spacing in data units.
          Value forced to a nice number. Overrides TSPACE.
        /NO25 means do not use multiples of 2.5 as tick spacing.
        /NOMINOR do not plot minor ticks.
        /DECLUTTER Try if tick labels are touching or crowded.
        CHARSIZE=csz Character size (def=1).
        ORIENTATION=ang Angle of scale, deg CCW (def=0).
        COLOR=clr Color of scale and labels (def=!.color).
        THICKNESS=thk Thickness of scale (def=!p.thick).
        GUARD=g Number of characters to keep title from tick
          label (def=1). Only works for horizontal axes,
          disabled for any other angle.

Outputs


Common Blocks


Notes


Modification History


      R. Sterner, 2002 Apr 01
      R. Sterner, 2002 Apr 15 --- Added /NOLABELS. Lined up maj/min ticks.
      R. Sterner, 2002 May 01 --- Added TDELTA=tick spacing in data units.
      R. Sterner, 2002 Nov 05 --- Correct axis endpoint.
      R. Sterner, 2003 Mar 11 --- Added /NO25 option.
      R. Sterner, 2003 Apr 23 --- Title offset decreased.
      R. Sterner, 2003 May 08 --- Added GUARD=g and label crowding code.
      R. Sterner, 2004 Jan 14 --- Added /DECLUTTER.
      R. Sterner, 2004 Jan 19 --- Minor tuning of /declutter.
      R. Sterner, 2007 May 11 --- Added /FLIP.
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
  Copyright (C) 2002, 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