y = ax and y = loga x are mirror images across y = x. Drag the point and watch its coordinates swap: the log just gives back the exponent.