Inverse of Linear Functions

What does a linear function look like when we interchange the inputs and outputs, that is make the x-axis the y-axis and vice versa.