awvPlaceWindowLabel
awvPlaceWindowLabel(w_windowID l_location t_label t_expr[?colort_color] [?justifyt_justify] [?fontStylet_fontStyle] [?heightt_height] [?orientt_orient] [?subwindowx_subwindow] ) =>s_labelID/nil
Description
Adds a graph label to a subwindow in the specified Waveform window.
Arguments
Value Returned
Examples
The following example places a graph label windowLabel1 in subwindow 2 of the specified Waveform window.
awvPlaceWindowLabel(window(3) list(0 0) "windowLabel1" nil ?subwindow 2)
=> ("graphLabel[1.1.3]")
The following example places a graph label windowLabel2 in subwindow 2 of the specified Waveform window.
awvPlaceWindowLabel(window(3) list(0 1) "windowLabel2" nil ?subwindow 2)
=> ("graphLabel[1.1.4]")
The following example places a graph label windowLabel3 in subwindow 2 of the specified Waveform window.
awvPlaceWindowLabel(window(3) list(1 1) "windowLabel3" nil ?subwindow 2)
=> ("graphLabel[1.1.5]")
The following example places a graph label windowLabel4 in subwindow 2 of the specified Waveform window.
awvPlaceWindowLabel(window(3) list(1 0) "windowLabel4" ?subwindow 2)
=> ("graphLabel[1.1.6]")
The following example places a graph label windowLabel5 in subwindow 2 of the specified Waveform window.
awvPlaceWindowLabel(window(3) list(0.5 0.5) "windowLabel5" ?subwindow 2)
=> ("graphLabel[1.1.7]")
The following example returns nil and reports an error because the specified location of the graph label is not with in the range (0,0) and (1,1).
awvPlaceWindowLabel(window(3) list(1 2) "windowLabel4" nil ?subwindow 2)
=> nil
Return to top