PlotSignalBase

class PlotSignalBase
Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

PlotSignalBase

GetAxisIndex()

Returns the index of the axis the signal is assigned to (starting at zero).

Returns:

The axis index

Return type:

integer

GetColor()

Return the color that is set in this plot signal.

Returns:

The color

Return type:

str

GetDrawStyle()

Return the draw style that is set in this plot signal.

Returns:

The draw style

Return type:

str

GetLineStyle()

Return the line style that is set in this plot signal.

Returns:

The line style

Return type:

str

GetLineWidth()

Return the line width that is set in this plot signal.

Returns:

The line width

Return type:

float

GetMarkerSize()

Return the marker size that is set in this plot signal.

Returns:

The marker size

Return type:

float

GetMarkerStyle()

Return the marker style that is set in this plot signal.

Returns:

The marker style

Return type:

str

SetAxisIndex(axisIndex)

Assigns the signal to an axis by index.

Parameters:
axisIndex : integer

The axis index in the list of axis of a sub plot

SetColor(color)

Sets the color of this plot signal. Use value ‘’ to assign the color automatically.

Parameters:
color : str

The new color to be set or None.

SetDrawStyle(drawStyle)

Sets the draw style of this plot signal. Valid values are: ‘hold’ or ‘linear’

Parameters:
drawStyle : str

The new draw style to be set

SetLineStyle(lineStyle)

Sets the line style of this plot signal. Valid values are: ‘-’, ‘–’, ‘-.’ or ‘:’. Use value ‘’ to assign the style automatically.

Parameters:
lineStyle : str

The new line style to be set

SetLineWidth(lineWidth)

Sets the line width of this plot signal.

Parameters:
lineWidth : float

The new line width to be set

SetMarkerSize(markerSize)

Sets the marker size of this plot signal.

Parameters:
markerSize : float

The new marker size to be set

SetMarkerStyle(markerStyle)

Sets the marker style of this plot signal. Valid values are: ‘’ (no marker), ‘o’, ‘*’, ‘x’, ‘+’, ‘.’.

Parameters:
markerStyle : str

The new marker style to be set