User`s guide
9-22 Agilent 4155C/4156C User’s Guide Vol.2, Edition 6
Built-in Functions
@L2G2
@L2G2
Returns the slope of LINE2 for Y2 axis.
Syntax: @L2G2
This function calculates the slope by using the following formula:
• If X and Y2 axes are both linear scaling:
α = (y
1
− y
0
)/(x
1
− x
0
)
• If X axis is logarithmic scaling, and Y2 axis is linear scaling:
α = (y
1
− y
0
)/(log x
1
− log x
0
)
• If X axis is linear scaling, and Y2 axis is logarithmic scaling:
α = (log y
1
− log y
0
)/(x
1
− x
0
)
• If X and Y2 axes are both logarithmic scaling:
α = (log y
1
− log y
0
)/(log x
1
− log x
0
)
Where,
α : Slope of LINE2.
x
0
,y
0
,x
1
,y
1
: X and Y2 coordinate values at the two points where LINE2
intercepts the perimeter of the plotting area.