pltICurve HighlightRangeByValue
Highlights between two values.
Syntax
pltICurve_handle HighlightRangeByValue from_value, to_value, marker
Application
Tcl Modify
Description
This command highlights between two values by putting lines at the two values and highlighting the part of the curve in between the two lines. This is different from HighlightRangeByIndex in that it measures between two values rather than two indices.
Inputs
- from_value
- A number representing the value along the X or Y axis (depending on which type you choose for the marker) that you want to use for the minimum value.
- to_value
- A number representing the value along the X or Y axis (depending on which type you choose for maker) that you want to be the maximum value.
- 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
- Which clears the highlighting completely
Examples
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetCurveHandle c1 1
c1 HighlightRangeByValue 2 5 modify_horizontal;
Errors
Success (0) or an error message is returned.
Keywords
Tcl
Cursor
Modify