next up previous contents index
Next: SET BLANKING Up: SET Previous: SET ACCURACY   Contents   Index


SET AXIS

        [GREG1\]SET AXIS EXPO|NOEXPO [X|Y|Z]
        [GREG1\]SET AXIS BRIEF|NOBRIEF [XDECIMAL|YDECIMAL|XSEXAGESIMAL|YSEX-
    AGESIMAL]

        SET AXIS EXPO forces the use of exponential notation  for  tick  la-
    bels.

    By  default (NOEXPO mode), Greg labels the ticks with plain integers (if
    abs(value)>=1) or decimal floats (if abs(value)<1) as long as the  label
    is  6  characters or less. For larger labels, Greg switches to the expo-
    nential notation.

    This default mode can lead to inhomogeneous labels, some as plain  inte-
    gers,  others  in  exponential  format. The mode EXPO forces the use the
    latter format for all labels.

    The labelling rule can be customized for X, Y, or  Z  (intensities  i.e.
    wedge labelling). With no argument, the command applies to those three.

    The  plain  integer/decimal  versus exponential formats apply to decimal
    and logarithmic axes. Sexagesimal axes have their own labelling rules.

        SET AXIS BRIEF|NOBRIEF [XDECIMAL|YDECIMAL|XSEXAGESIMAL|YSEXAGESIMAL]

    The BRIEF keyword indicates to the commands G\AXIS and G\BOX to abbrevi-
    ate  the major tick labels, if possible. Abbreviating means dropping off
    leading digits which are common to all tick labels of one axis, in order
    to  make  the relevant information (the variable digits) easier to read.
    This is particularly suited to axes showing  a  small  range  of  values
    around a large one. This can also help saving place depending on the ax-
    is and its tick labels orientation. Note that the first  tick  label  is
    kept  entire while the other are abbreviated, and sign is preserved. The
    NOBRIEF keyword indicate not to attempt the abbreviation.

    A complementary argument can indicate which kind of axes should  be  af-
    fected.  X and Y refer respectively to horizontal and vertical axes. The
    suffix DECIMAL refers to standard linear  numbering,  while  SEXAGESIMAL
    refers  to  sexagesimal  notations of any kind. Logarithmic axes are not
    affected. By default the command modifies the behavior of both  axes  in
    both supported modes.

    Defaults are:
      XDECIMAL      NOBRIEF
      YDECIMAL      NOBRIEF
      XSEXAGESIMAL  BRIEF
      YSEXAGESIMAL  NOBRIEF

    Here are several examples for axes with 3 major ticks:
      * NOBRIEF mode:
             123456       123457       123458
          -123456.7   -123456.75    -123456.8
               1000         2000         3000
                 -1            0            1
          12h34m56s    12h34m57s    12h34m58s
          12h34m00s    12h36m00s    12h38m00s
      * Same in BRIEF mode:
             123546            7            8
          -123546.7         -.75          -.8
               1000         2000         3000
                 -1            0            1
          12h34m56s          57s          58s
          12h34m00s       36m00s       38m00s


Gildas manager 2020-12-02