ILNumerics Ultimate VS

TickCollectionCreateTicksAuto Method (Single, Single, Int32, Axis, AxisScale)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create nice numbers for ticks for arbitrary axes

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing.Plotting
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static IEnumerable<Tick> CreateTicksAuto(
	float min,
	float max,
	int numberTicks,
	Axis axis,
	AxisScale scale = AxisScale.Linear
)

Parameters

min
Type: SystemSingle
lower axis range limit
max
Type: SystemSingle
upper axis range limit
numberTicks
Type: SystemInt32
optimal number of ticks (hint)
axis
Type: ILNumerics.Drawing.PlottingAxis
The axis object to create the ticks for (not used)
scale (Optional)
Type: ILNumerics.DrawingAxisScale
The scaling of the axis, log / lin

Return Value

Type: IEnumerableTick
Enumerable of newly created ticks
Remarks

This method provides the default implementation of a tick generator for arbitrary axes. It handles logarithmic and linear axes of arbitrary range and size. By returning a collection of

Tick
objects, it defines all properties of every tick: position, label text, label properties, major/ minor tick etc.

[ILNumerics Visualization Engine]

See Also

Reference