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

awvSetXAxisStepValue

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

Description

Sets 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.

x_stepSize

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

?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

Step size for the major divisions of x axis is set successfully.

nil

Either the specified step size is not a valid number or the specified Waveform window or subwindow does not exist.

Examples

The following examples set the step size for the major divisions of x axis to 100ns in the subwindow 2 of the current Waveform window.

awvSetXAxisStepValue(awvGetCurrentWindow() 100n ?subwindow 2)
=> t
awvSetXAxisStepValue(awvGetCurrentWindow() 100ns ?subwindow 2)
=> t
awvSetXAxisStepValue(awvGetCurrentWindow() 1e-7 ?subwindow 2)
=> t

Return to top
 ⠀
X