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

awvZoomGraphY

awvZoomGraphY(
w_windowID
l_minMax
[ ?stripNumber x_stripNumber ]
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

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

Arguments

w_windowID

Waveform window ID.

l_minMax

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

The following notations are supported:

750m:900m

list(750m 900m)

list("750mv" "900mv")

7.5e-1:9e-1

list(7.5e-1 9e-1)

?stripNumber x_stripNumber

Strip number to identify the strip on which zoom operation is to be performed. If you do not specify this argument, the currently selected strip is used.

If no strip is currently selected in the specified subwindow or the current subwindow, the default value 1 is used, which means that the operation is performed on the trace with strip number 1.

?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, subwindow, or the strip does not exist.

Examples

The following example returns a list of strip numbers of the traces plotted in the current subwindow of the current Waveform window:

awvGetStripNumbersList(awvGetCurrentWindow() ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> (3 1 2)

The following examples zoom in the y axis from y=750mV to y=900mV of the trace with the strip number 2 in the current subwindow of the current Waveform window.

awvZoomGraphY(awvGetCurrentWindow() 750m:900m ?stripNumber 2 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphY(awvGetCurrentWindow() list(750m 900m) ?stripNumber 2 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphY(awvGetCurrentWindow() list("750mV" "900mV") ?stripNumber 2 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphY(awvGetCurrentWindow() 7.5e-1:9e-1 ?stripNumber 2 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t
awvZoomGraphY(awvGetCurrentWindow() list(7.5e-1 9e-1) ?stripNumber 2 ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> t


Return to top
 ⠀
X