LinearTickSpacingCalculateMajorSpan Method |
Calculates the major span from the scale span, taking into account the setting for targetMajorTicks.
Namespace: Altaxo.Graph.Scales.TicksAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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,
Int32The raw major span together with its decadic exponent.
See Also