Plot.GetAxisTickAnchor

Prototypes

double GetAxisTickAnchor( int nAxisID )

Return Value

The return value is the reference tick to which the major tick increment is applied.

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 anchor for the tick marks. The major tick marks are generated by starting at the anchor tick and stepping in both directions by the tick increment.

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

Plot.GetAxisTickUnit
Plot.SetAxisTickAnchor