Tags:
create new tag
view all tags

.AXIS SET TICK MIN INC

This subroutine sets the minimum tick increment of the ticks on the "current" axis.


Usage:

      PASS         <tick_inc>                 FIELD            SHARE? N
      GOSUB    0CD .AXIS SET TICK MIN INC
      *        Check for error
      IF       0CD .AXIS SET TICK MIN INC     NE

Description:

This subroutine sets the minimum tick increment of the ticks on the "current" axis. You must have selected a "current" axis via.AXIS SET CURRENT before calling this routine.

If a parameter is not received or if the value received is blank, then the value is cleared and the default increment will be used.

The offset is specified in axis scale units. For example, an offset of 50 means the tick is shifted 50 units along the axis.

The most common use of this subroutine is to ensure the ticks are of integer values (the minimum distance set to 1).
Chart Director auto-scaling will automatically determine the optimal number of ticks and labels on the axis. However, in some cases, the nature of the data may be such that the ticks should assume only certain discrete values (such as must be integers). This subroutine will inform Chart Director for this constraint when performing auto-scaling.

For a log scale axis, because the axis ticks are unevenly spaced, the minimum distance will be treated as the minimum value allowed for the axis scale.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-11-10

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-25 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback