awvSetLegendWidth
awvSetLegendWidth(w_windowID x_width[?subwindowx_subwindow] ) =>t/nil
Description
Sets the width of the trace legend in a subwindow of the specified Waveform window. The function works only when the trace legend position is set to left.
Arguments
|
Identification number of the subwindow, which is found in the top-right corner of the subwindow. If you do not specify this argument, width of the trace legend is set in the current subwindow. |
|
Value Returned
Examples
The following example creates a Waveform window.
win=awvCreatePlotWindow()
=> window:10
Opens simulation results stored in the specified directory:
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
Plots the waveforms of net10 and out signals from the simulation results.
awvPlotWaveform(
win
list(v("net10" ?result "tran-tran") v("out" ?result "tran-tran"))
)
=> t
The following example sets the width of the trace legend to 240.
awvSetLegendWidth(win 240)
=> t
The following example sets the width of trace legend to 120 in subwindow 2 of the specified Waveform window.
awvSetLegendWidth(window(9) 120 ?subwindow 2)
=> t
Return to top