Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

awvSetYAxisMinorDivisions

awvSetYAxisMinorDivisions(
w_windowID
x_yNumber
x_numMinorDivisions
[ ?stripNumber x_stripNumber ]
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Sets the number of minor divisions on the scale of the specified y axis of a strip in the specified subwindow of a Waveform window.

Arguments

w_windowID

Waveform window ID.

x_yNumber

Number of y axis for which the number of minor divisions is to be set. The value can be any integer from 1 through 4.

x_numMinorDivisions

Number of minor divisions to be set on the scale of the specified y axis.

?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

t

Number of the minor divisions on the scale of the specified y axis is set successfully.

nil

The specified Waveform window, subwindow, y-axis number, or the strip number does not exist.

Examples

The following example sets the number of minor divisions on the y-axis number 1 to 10 in the strip number 3 of the current subwindow in the current Waveform window.

awvSetYAxisMinorDivisions(awvGetCurrentWindow() 1 10 ?stripNumber 3 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t

The following example sets the number of minor divisions on the y-axis number 1 to 5 in the strip number 2 in the subwindow 3 of the specified Waveform window.

awvSetYAxisMinorDivisions(window(11) 1 5 ?stripNumber 2 ?subwindow 3)
=> t

Return to top
 ⠀
X