pltIVectorComplex SetSubcase

Sets the subcase for the vector.

Syntax

pltIVectorComplex_handle SetSubcase subcase

Application

Tcl Modify

Description

This command only changes the value of the subcase. Call pltIPlot Recalculate to retrieve the data for this subcase.

This method is only valid for file vectors.

Valid values for subcase depend on the particular data file associated with the vector.

Inputs

subcase
The index of the subcase used by the vector.

Example

To set the subcase of a curve to 2:
MyCurve GetVectorHandle x myX
MyCurve GetVectorHandle y myY
MyX SetSubcase 2
MyY SetSubcase 2

Errors

Success (0) or an error code:

3 = HW_InvalidHandle - The handle used to invoke the method is no longer valid.