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

awvSetXAxisMajorDivisions

awvSetXAxisMajorDivisions(
w_windowID
x_numMajorDiv
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Sets the number of major divisions on the x axis of a graph in a subwindow of the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

x_numMajorDiv

Number of major divisions to be set on the x axis.

?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 major divisions on the x axis is set successfully.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following example sets the number of major divisions on the x axis to 20 in the current subwindow of the current Waveform window.

awvSetXAxisMajorDivisions(awvGetCurrentWindow() 20 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t

The following example sets the number of major divisions on the x axis to 30 in the subwindow 2 of the specified Waveform window.

awvSetXAxisMajorDivisions(window(16) 30 ?subwindow 2)
=> t

Return to top
 ⠀
X