Output Y value at a given X for all data plots in all layers of graph
1. gxy2w x:=10;
2. gxy2w x:=20 igp:=graph1 bname:=ExtractValues xname:=Length xunits:=mm;
3. gxy2w x:=20 n1:=1 n2:=0;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
X Value | x |
Input double |
|
Specifies an X value. Then, the Y values that correspond to this X value will be picked up and added to the worksheet. |
Input Graph | igp |
Input GraphPage |
|
Specifies the graph to be manipulated. |
Workbook Name | bname |
Input string |
|
Specifies the name for the workbook, which will be used to place the Y values. The default value is "points". |
First Layer | n1 |
Input int |
|
Specifies the first layer to be manipulated. The default is 1, which corresponds to the first layer in the graph. |
Last Layer | n2 |
Input int |
|
Specifies the last layer to be manipulated. By default, this variable is set to 0, which corresponds to the last layer. |
X Long Name | xname |
Input string |
|
Specifies the long name of the X column in the workbook. |
X Units | xunits |
Input string |
|
Specifies the unit of the X column in the workbook. |
This X-Function can be used to read Y values that correspond to a specified X value on a graph. The result will be arranged in a workbook.
Keywords:find y