7-24 Agilent 4155B/4156B User’s Guide Vol.2, Edition 5
Data Variable and Analysis Function
Read Out Function
@L1CO
Returns the correlation coefficient of the regression for LINE1.
Syntax: @L1CO
LINE1 must be in regression mode. If not, this function returns invalid data.
@L1G
Returns the slope of LINE1.
Syntax: @L1G
If there are Y1 and Y2 axes, this function returns the value for selected axis.
This function calculates the slope by using the following formula:
• If X and Y axes are both linear scaling:
a = (y
1
- y
0
)/(x
1
- x
0
)
• If X axis is logarithmic scaling, and Y axis is linear scaling:
a = (y
1
- y
0
)/(log x
1
- log x
0
)
• If X axis is linear scaling, and Y axis is logarithmic scaling:
a = (log y
1
- log y
0
)/(x
1
- x
0
)
• If X and Y axes are both logarithmic scaling:
a = (log y
1
- log y
0
)/(log x
1
- log x
0
)
Where,
a : Slope of LINE1.
x
0
,y
0
,x
1
,y
1
: X and Y coordinate values at the two points where LINE1 intercepts
the perimeter of the plotting area.