Plot.SetAxisTickUnit

Prototypes

void SetAxisTickUnit( int nAxisID, double dUnit )

Parameters

int nAxisID
A predefined constant specifying the axis. The valid values are XAXIS, YAXIS, and ZAXIS. The axis must represent interval data.

double dUnit
The desired increment between major tick marks.

Remarks

This method sets the increment between major tick marks. The major tick marks are evenly spaced.

For the Histogram class, the increment between major tick marks is the bin width. If this method is called for the X axis of a histogram, the Y axis may also change.

Example
x = { 1 2 3 4 5 6 7 8 };
y = { 2 1 4 5 6 5 6 9 };
declare ScatterPlot plot = ScatterPlot.Create( "Sample Data", x, y );
plot.SetAxisTickUnit( YAXIS, 4 );
See Also

Plot.GetAxisTickUnit
Plot.SetAxisNumericTicks
Plot.SetAxisTickAnchor
Plot.SetAxisTickRange