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

awvSetXAxisLabel

awvSetXAxisLabel(
w_windowID
t_label
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Replaces the automatically computed label of the x axis with the specified label in a subwindow of the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

t_label

Label to be displayed for the x axis.

?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, label for the x axis is set in the current subwindow.

Value Returned

t

Label for the x axis is set successfully.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following example sets the label for the x axis to Time in nanosecond in the subwindow 2 of the current Waveform window.

win=awvGetCurrentWindow()
=> window:11
awvSetXAxisLabel(win "Time in nanosecond" ?subwindow 2)
=> t

The following example sets the label for the x axis to Time in second in the current subwindow of the specified Waveform window.

awvSetXAxisLabel(window(12) "Time in second")
=> t


Return to top
 ⠀
X