pltIVector SetDataEndIndex

Sets the end index of vector referenced by the datasource (vector).

Syntax

pltIVector_handle SetDataEndIndex index

Application

Tcl Modify

Description

This command sets the end index of the concerned vector.

Inputs

index
The start index of the desired vector.

Example

#Precondition: A curve must be available on the plot client window.
hwi GetActiveClientHandle cl;	#Must be a plot client.
cl GetCurveHandle crv 1;		#Get the handle of the curve at index 1.
crv GetVectorHandle yvec y;	#Possible options are x or y or u or v.
yvec SetDataEndIndex index;

Errors

0 is returned on success or an error code is returned on failure.

Keywords

Tcl

DataSource

Vector

Query