Click or drag to resize

LinearTickSpacingCalculateNumberOfMinorTicks Method

Calculates the number of minor ticks from the major span value and the target number of minor ticks.

Namespace: Altaxo.Graph.Scales.Ticks
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static int CalculateNumberOfMinorTicks(
	double majorSpan,
	int targetNumberOfMinorTicks
)

Parameters

majorSpan  Double
Major span value.
targetNumberOfMinorTicks  Int32
Target number of minor ticks.

Return Value

Int32
The number of minor tick intervals to use for the specified major span.
See Also