Sets a new mathematical function for the X-axis of the equation curve.
Returns eOk if a new function was successfully set or an appropriate error code in the other case.