awvSetYAxisUseStepValue
awvGetYAxisUseStepValue(
w_windowID
x_yNumber
g_useStepSize
[ ?stripNumber x_stripNumber ]
[ ?subwindow x_subwindow ]
)
=> l_infoList / nil
Description
Specifies whether to use the step size for the major divisions of the specified y axis in the specified graph.
Arguments
|
w_windowID
|
Waveform window ID.
|
|
x_yNumber
|
Number of y axis. The value can be any integer from 1 through 4.
|
|
g_useStepSize
|
Specifies whether to use the step size for the major divisions of the specified y axis.
Valid values are:
-
t: Step size is used. -
nil: Step size is not used.
|
|
?stripNumber x_stripNumber
|
|
|
Strip number of the trace. If you do not specify this argument, the currently selected strip is used.
If no strip is currently selected in the specified subwindow or the current subwindow, the default value 1 is used, which means that the operation is performed on the trace with strip number 1.
|
|
?subwindow x_subwindow
|
|
|
Identification number of the subwindow, which is found in the top-right corner of the subwindow.
If you do not specify this argument, the current subwindow is used.
|
Value Returned
|
l_infoList
|
A list containing the dependent axis number and the status of the step size set on the specified y-axis number.
|
|
nil
|
The specified Waveform window, subwindow, y-axis number, or the strip number does not exist.
|
Examples
The following example enables the use the of step size for the major divisions of the y-axis number 1 in the strip number 2 of the subwindow 3.
awvSetYAxisUseStepValue(window(14) 1 t ?stripNumber 2 ?subwindow 3)
=>
(("depAxis[68.127.314]")
(("useMajorDelta" "true"))
)
The following example disables the use the of step size for the major divisions of the y-axis number 1 in the strip number 3 of the subwindow 3.
awvSetYAxisUseStepValue(window(14) 1 nil ?stripNumber 3 ?subwindow 3)
=>
(("depAxis[68.127.315]")
(("useMajorDelta" "false"))
)
Return to top