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

awvSetXScale

awvSetXScale(
w_windowID
t_scale
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Sets display mode of x axis in a subwindow of the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

t_scale

Scale to be set for the x axis.

Valid values are linear, log, and auto.

?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

Display mode of x axis is set successfully.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following example sets display mode of x axis to linear in the subwindow 3 of the current Waveform window.

awvSetXScale(awvGetCurrentWindow() "linear" ?subwindow 3)
=> t

The following example sets display mode of x axis to logarithmic in the current subwindow of the specified Waveform window.

awvSetXScale(window(38) "log")
=> t

Return to top
 ⠀
X