LayerSetAxisMinMaxDelta¶
The LayerSetAxisMinMaxDelta function specifies the start and end values and the distance between two labels of the axis scale.
-
bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rsMin, rsMax, rsDelta)
-
bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rsMin, rsMax, rsDelta, rsDeltaUnit)
-
bool = LayerSetAxisMinMaxDelta(hLayer, ssXYZ, rvMinMaxDelta)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
-
hLayer
Identifies the layer.
-
ssXYZ
ssXYZ is “X” for the x-axis, “Y” for the y-axis and “Z” for the z-axis.
-
rsMin
rsMin is the start value of the axis.
-
rsMax
rsMax is the end value of the axis.
-
rsDelta
rsDelta is the distance between two consecutive labels. For a time/date scaling the value depends on the parameter rsDeltaUnit.
-
rsDeltaUnit
This parameter must be specified for a time/date scaling. rsDeltaUnit specifies the units of the parameter rsDelta. The following values are valid:
Value Meaning 1 Seconds 2 Minutes 3 Hours 4 Days 5 Month 6 Years
-
rvMinMaxDelta
Is a vector with 3 or 4 elements: [rsMin, rsMax, rsDelta] or [rsMin, rsMax, rsDelta, rsDeltaUnit].
History
Version | Description |
---|---|
R2013.3 | New parameter rvMinMaxDelta. |
See also
id-1068654