MajorUnitsBase Property
Syntax
CWTicks3D.MajorUnitsBase
Data Type
Purpose
Specifies the base number for calculating ticks.
Remarks
When ticks are spaced by units, ticks are placed at locations that fit the following equation:
MajorUnitsBase + (n * MajorUnitsInterval)
where n is any integer.
Setting this property overrides the MajorDivisions and MinorDivisions properties and causes the MajorUnitsInterval and MinorUnitsInterval properties to take effect.
Example
'Place major ticks every 2 units (even numbers)
CWGraph3D1.Axes.Item(1).MajorUnitsInterval = 2
'Place minor ticks every .5 units
CWGraph3D1.Axes.Item(1).MajorUnitsInterval = .5
'The unit's base is 0
CWGraph3D1.Axes.Item(1).MajorUnitsBase = 0
'To specify ticks at odd numbers, change the base to 1
CWGraph3D1.Axes.Item(1).MajorUnitsBase = 1
'Now, there will be major ticks at ..., -3, -1, 1, 3, 5, ...