and its inverse.

> with(plots);

> f:= x -> x^3 - 3/(x-3);

> implicitplot({y=f(x), x=f(y), y=x}, x=-2.5..2.5, y=-2.5..2.5);

Comment: This would not plot with the bounds x = -3..3 and y = -3..3.