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

awvPlaceCircleMarker

awvPlaceCircleMarker(
w_windowID
n_xLoc
n_yLoc
n_radius
[ ?subwindow x_subwindow ]
[ ?label t_label ]
[ ?startAngle n_startAngle ]
[ ?spanAngle n_spanAngle ]
[ ?outlineColor t_outlineColor ]
[ ?fillColor t_fillColor ]
)
=> t_markerID / nil

Description

Places a circular marker at the specified location on a circular graph.

Arguments

w_windowID

Waveform window ID

n_xLoc

The x coordinate of the center of the circular marker.

n_yLoc

The y coordinate of the center of the circular marker.

n_radius

The radius (magnitude) of the circular marker.

?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, the current subwindow is used.

?label t_label

Label to be displayed on the circular marker.

?startAngle n_startAngle

The start angle of the pie slice in degree or radian.

?spanAngle n_spanAngle

The end angle of the pie slice in degree or radian.

?outlineColor t_outlineColor

Outline color of the circular marker.

?fillColor t_fillColor

Color to be filled in the circular marker.

Value Returned

t_markerID

Returns the ID of the circular marker after the marker is placed on the specified circular graph.

nil

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
 ⠀
X