Click or drag to resize

LinearTickSpacingCalculateMajorSpan Method

Calculates the major span from the scale span, taking into account the setting for targetMajorTicks.

Namespace: Altaxo.Graph.Scales.Ticks
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double MajorSpanRaw, int MajorSpanDecadicExponent) CalculateMajorSpan(
	double scaleSpan,
	int targetNumberOfMajorTicks
)

Parameters

scaleSpan  Double
Scale span (end-origin).
targetNumberOfMajorTicks  Int32
Target number of major ticks.

Return Value

ValueTupleDouble, Int32

[Missing <returns> documentation for "M:Altaxo.Graph.Scales.Ticks.LinearTickSpacing.CalculateMajorSpan(System.Double,System.Int32)"]

See Also