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

awvGetXAxisStepValue

awvGetXAxisStepValue(
w_windowID
[ ?subwindow x_subwindow ]
)
=> x_stepSize / nil

Description

Returns the step size for the major divisions of x axis in the specified graph. The step value indicates the spacing between major divisions of x axis.

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_stepSize

Step size for the major divisions of x axis in the specified graph.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following example returns the step size for the major divisions of x axis in the subwindow 2 of the specified Waveform window.

awvGetXAxisStepValue(window(19) ?subwindow 2)
=> 1e-07

This indicates that major divisions of x axis are spaced at 100ns (1e-07) in the specified graph.


Return to top
 ⠀
X