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

awvZoomGraphX

awvZoomGraphX(
w_windowID
l_minMax
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Zooms in or zooms out the graph according to the specified x-axis (independent axis) coordinates.

Arguments

w_windowID

Waveform window ID.

l_minMax

A list of two x-axis coordinates for performing zoom in or zoom out operation. The first value in the list is the minimum and the second is the maximum.

The following notations are supported:

50n:220n

list(50n 220n)

list("50ns" "220ns")

5e-8:2.2e-7

list(5e-8 2.2e-7)

?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

Zoom in or zoom out operation is successful.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following examples zoom in the x axis from x=50ns to x=220ns in the current subwindow of the current Waveform window.

awvZoomGraphX(awvGetCurrentWindow() 50n:220n ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphX(awvGetCurrentWindow() list(50n 220n) ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphX(awvGetCurrentWindow() list("50ns" "220ns") ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphX(awvGetCurrentWindow() 5e-8:2.2e-7 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphX(awvGetCurrentWindow() list(5e-8 2.2e-7) ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t

Return to top
 ⠀
X