Drawing the Inverse of a Function