Terminal potential difference is,
V = ε − Ir
Or V = -rI + ε
This equation is similar to a straight-line equation,
y = mx + c
Hence,
The graph between V and I is a straight line AB with a negative slope (= -r) as shown in figure.

For point A,
I = 0 and
V= VA,
So,
VA = ε = intercept on y-axis.
For point B,
V = 0,
I = IB
O = ε − IBr
