7-28 Agilent 4155B/4156B User’s Guide Vol.2, Edition 5
Data Variable and Analysis Function
Read Out Function
@L2G
Returns the slope of LINE2.
Syntax: @L2G
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 LINE2.
x
0
,y
0
,x
1
,y
1
: X and Y coordinate values at the two points where LINE2 intercepts
the perimeter of the plotting area.