pltICurve HighlightRangeByIndex

Highlights between two indices.

Syntax

pltICurve_handle HighlightRangeByIndex from_index, to_index, marker

Application

HyperWorks Tcl Modify

Description

This command highlights between two indices by putting lines at the two indices and highlighting the part of the curve between the two lines. This is different from HighlightRangeByValue in that it measures between the two indices rather than the two values.

Inputs

from_index
Selected from all of the points that comprise the curve, a number representing the index (position) that you want to be the minimum index.
to_index
Selected from all of the points that comprise the curve, a number representing the index (position) that you want to be the maximum index.
marker
Type of marker that you want to use to highlight.
modify_horizontal
Which takes the horizontal range, making vertical lines
modify_vertical
Which takes the vertical range, making horizontal lines
statistics
Taking a statistical range
none
Or clear, which clears the highlighting completely.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetCurveHandle c1 1
c1 HighlightRangeByIndex 12 20 modify_horizontal;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Cursor

Modify