InverseTickSpacingCalculateMajorSpan 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 CalculateMajorSpan(
double scaleSpan,
int targetNumberOfMajorTicks
)
Parameters
- scaleSpan Double
- Scale span (end-origin).
- targetNumberOfMajorTicks Int32
- Target number of major ticks.
Return Value
DoubleThe calculated major tick span.
See Also