pltIVector SetSubcase

Sets the subcase for the vector.

Syntax

pltIVector_handle SetSubcase subcase

Application

Tcl Query

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

Error

Success or an error code.

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