awvPlaceCircleMarker
awvPlaceCircleMarker(w_windowID n_xLoc n_yLoc n_radius[?subwindowx_subwindow] [?labelt_label] [?startAnglen_startAngle] [?spanAnglen_spanAngle] [?outlineColort_outlineColor] [?fillColort_fillColor] ) =>t_markerID/nil
Description
Places a circular marker at the specified location on a circular graph.
Arguments
|
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
|
Returns the ID of the circular marker after the marker is placed on the specified circular graph. |
|
|
The point marker cannot be placed on the trace because of an error. |
Examples
The following example places a circular marker cM1 on the circular graph in the current Waveform window. The center of the circular marker is located at x=0.04 (40.0m) and y=0.05 (50.0m). The radius of the circular marker is 0.5. The outline color of the circular marker is red. The circular marker is filled with yellow color.
awvPlaceCircleMarker(awvGetCurrentWindow() 0.04 0.05 0.5 ?label "%F (%C:%R)" ?outlineColor "red" ?fillColor "yellow")
=> "circleMarker[51.17.1]"
The following example creates a Waveform window.
win=awvCreatePlotWindow()
=> window:132
Opens simulation results stored in the specified directory:
openResults("./simulation/opamp090/full_diff_opamp/maestro/results/maestro/Interactive.13/psf/AC/psf")
=> "./simulation/opamp090/full_diff_opamp/maestro/results/maestro/Interactive.13/psf/AC/psf"
Sets the display mode of the current Waveform window to smith:
awvSetDisplayMode(win "smith")
=> t
Plots the signal OUT in a circular graph:
awvPlotWaveform(
win
list(v("OUT" ?result "ac-ac"))
)
=> t
Places a circular marker cM2 at the specified location on the circular graph in the current Waveform window:
awvPlaceCircleMarker(win
0.04
0.05
0.5
?label "%F (%C:%R)"
?outlineColor "red"
?fillColor "yellow"
)
=> "circleMarker[52.18.2]"
Return to top