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










