Plot.GetAxisTickUnit

Prototypes

double GetAxisTickUnit( int nAxisID )

Return Value

The return value is the increment between major tick marks.

Parameters

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

Remarks

This method returns 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.

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 );
u = plot.GetAxisTickUnit( XAXIS );
print u;
See Also

Plot.GetAxisTickAnchor
Plot.SetAxisTickUnit