ILNumerics Ultimate VS

TickCollectionReplace Method (IEnumerableTick)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Replace all existing ticks with a collection of new ticks; does not change current tick Mode

[ILNumerics Visualization Engine]

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

public void Replace(
	IEnumerable<Tick> ticks
)

Parameters

ticks
Type: System.Collections.GenericIEnumerableTick
collection of tick objects
Remarks

Every item in ticks creates a new tick and copies the corresponding properties from the given tick objects.

Tick labels for all ticks in ticks which have a Label value of

null
are automatically created by transforming the position value into a string. Therefore, the LabelTransformFunc function is used (which by default references DefaultLabelTransformFunc).

In order to control the label text creation process, set the LabelTransformFunc to a custom function.

This overload allows the creation of arbitrary tick collections, including the control of the tick levels. Ticks with a level parameter of 0 are considered major tick values, those having a level of 1 will get displayed as minor ticks (this is used for logarithmic axis scales).

[ILNumerics Visualization Engine]

See Also

Reference