awvCreatePlotWindow
awvCreatePlotWindow(
[ ?parentWindow w_windowID ]
[ ?graphType t_graphType ]
)
=> w_windowID / nil
Description
Creates a Waveform window and returns its window ID.
Arguments
|
?parentWindow w_windowID
|
|
|
Waveform window ID for the parent window. If the parent window is a graphics editor window, the new Waveform window uses pens from the technology file of the parent widow.
|
|
?graphType t_graphType
|
|
|
Type of the graph.
Valid values are Rectangular, Tabular, Polar, Impedance, Admittance, and Immittance.
The default graph type is Rectangular.
|
Value Returned
|
w_windowID
|
ID of the new Waveform window.
|
|
nil
|
Waveform window cannot be created because of an error.
|
Examples
The following example creates a Waveform window of Immittance graph type and returns its window ID.
awvCreatePlotWindow(?graphType "Immittance")
=> window:3
Return to top