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

NAXES

NAXES

Name


      NAXES

Purpose


      Find nice axis tics.

Category


Calling Sequence


      naxes, xmn, xmx ,nx, tx1, tx2, nt, xinc, ndec

Inputs


      xmn, xmx = Axis min and max. in.
      nx = Desired number of axis tics. in.

Keyword Parameters


Keywords


        /NO25 Means do not allow multiples of 2.5
          (Attempt to better match IDL axes ticks. Use nx=5).

Outputs


      tx1, tx2 = Suggested first and last tic positions. out.
      nt = Suggested number of axis tics. out.
      xinc = Suggested tic spacing. out.
      ndec = Suggested number tic label decimal places. out.

Common Blocks


Notes


Modification History


      R. Sterner. 7 Nov, 1988 --- Converted from FORTRAN.
      R. Sterner, 1997 Feb 18 --- Added /NO25
      R. Sterner, 2003 Nov 11 --- Fixed ndec to be int.
      R. Sterner, 2007 Jul 05 --- Forced double to get start and end ticks.
      R. Sterner, 2010 Jun 09 --- Added /B60 and /B24.
  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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us