.. highlightlang:: us .. index:: LayerSetAxisMinMaxDelta .. _layersetaxisminmaxdelta: LayerSetAxisMinMaxDelta ======================= .. us.tag LayerSetAxisMinMaxDelta ENGLISH LayerSet CHANGED5503 The :ref:`LayerSetAxisMinMaxDelta` function specifies the start and end values and the distance between two labels of the axis scale. .. function:: bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rsMin, rsMax, rsDelta) bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rsMin, rsMax, rsDelta, rsDeltaUnit) bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rvMinMaxDelta) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hLayer Identifies the layer. .. uparam:: ssXYZ *ssXYZ* is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis. .. uparam:: rsMin *rsMin* is the start value of the axis. .. uparam:: rsMax *rsMax* is the end value of the axis. .. uparam:: rsDelta *rsDelta* is the distance between two consecutive labels. For a time/date scaling the value depends on the parameter *rsDeltaUnit*. .. uparam:: rsDeltaUnit This parameter must be specified for a time/date scaling. *rsDeltaUnit* specifies the units of the parameter *rsDelta*. The following values are valid: .. list-table:: :header-rows: 1 * - Value - Meaning * - 1 - Seconds * - 2 - Minutes * - 3 - Hours * - 4 - Days * - 5 - Month * - 6 - Years .. uparam:: rvMinMaxDelta Is a vector with 3 or 4 elements: [rsMin, rsMax, rsDelta] or [rsMin, rsMax, rsDelta, rsDeltaUnit]. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2013.3 - New parameter *rvMinMaxDelta*. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerGetAxisMinMaxDelta` :sub:`id-1068654`