Axis based on formula?

Is it possible to have an axis be generated based on a formula?
Plotly is capable of having logarithmic axes. I was wondering if there is a way of defining our own function?