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

awvGetXAxisMajorDivisions

awvGetXAxisMajorDivisions(
w_windowID
[ ?subwindow x_subwindow ]
)
=> x_majorDivisions / nil

Description

Returns the number of major divisions that are set on the x axis of a graph in a subwindow of the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

?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

x_majorDivisions

Number of the major divisions on the x axis of the specified graph.

nil

The specified Waveform window or subwindow does not exist.

Examples

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

awvGetXAxisMajorDivisions(awvGetCurrentWindow() ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> 20

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

awvGetXAxisMajorDivisions(window(16) ?subwindow 2)
=> 30

Return to top
 ⠀
X