.AXIS SET TICK DENSITY
This subroutine sets the distance in pixels between major ticks and minor ticks on the "current" axis.
Usage:
PASS <maj_tick_space> FIELD SHARE? N
PASS <min_tick_space> FIELD SHARE? N
GOSUB 0CD .AXIS SET TICK DENSITY
* Check for error
IF 0CD .AXIS SET TICK DENSITY NE
Description:
This subroutine sets the distance in pixels between major ticks and minor 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 spacing will be used.
Tick density is the desired distance between two ticks in pixels. When Chart Director performs auto-scaling, it will decide how many ticks to put on the axis based on tick density.
<maj_tick_space> is the desired distance between two major ticks in pixels.
<min_tick_space> the desired distance between two minor ticks in pixels. If you specify this parameter, you must specify a non blank value for the <maj_tick_space>. You can't specify the minor tick spacing unless you also specify the major tick spacing.
Note that the actual tick density chosen in auto-scaling may not be exactly the same as the desired tick density. It is because Chart Director may have other constraints in choosing the ticks, such as the ticks and axis range should be neat numbers, and the axis must contain an integral number of ticks, etc. Chart Director may use a tick distance that is larger than suggested, but never smaller.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-11-10