2.5.11 gxy2w

Brief Information

Output Y value at a given X for all data plots in all layers of graph

Command Line Usage

1. gxy2w x:=10;

2. gxy2w x:=20 igp:=graph1 bname:=ExtractValues xname:=Length xunits:=mm;

3. gxy2w x:=20 n1:=1 n2:=0;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
X Value x

Input

double

0

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

<active>

Specifies the graph to be manipulated.

Workbook Name bname

Input

string

Points

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

1

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

0

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.

Description

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.

Related X-Functions

plotpClamp


Keywords:find y