Log10TickSpacingGetOrgOrEndSnappedToTick Method |
Adjusts the parameter x so that x snaps to a tick according to the setting of snapping.
Namespace: Altaxo.Graph.Scales.TicksAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double GetOrgOrEndSnappedToTick(
double x,
int decadesPerMajorTick,
int minorTicks,
BoundaryTickSnapping snapping,
bool upwards
)
Parameters
- x Double
- The boundary value to adjust.
- decadesPerMajorTick Int32
- Number of decades between the major ticks.
- minorTicks Int32
- Number of minor ticks.
- snapping BoundaryTickSnapping
- Setting of the tick snapping.
- upwards Boolean
- If true, the value is towards higher values, if false it is adjusted towards smaller values.
Return Value
DoubleThe adjusted value of x.
See Also