Uneven axis tick label

Hi,

I want to create two axis on one plot, where there is a one-to-one correspondence between the left and right axes. For example, the ticks on left axis might be {1, 2, 3, 4}, and the right axis might be {0, 7, 26, 63}. The transfer function is y=x^3-1. If they had a linear relationship , I could use "userticks" to make my right axis. However, I need an uneven scale. In this case, log scale is better. Do you have any suggestions?

Many thanks

This is exactly the use case for the Transform Axes package. Navigate to Graph => Packages => Transform Axes. Under Function select 'Create New'. In the procedure window change

Function TransAx_yourname(coef, in)
    Wave/Z coef // your coefficient wave if available
    Variable in // input value from the original axis

    return in
End

into:

Function TransAx_CubeFunc(coef, in)
    Wave/Z coef // your coefficient wave if available
    Variable in // input value from the original axis

    return in^3-1
End

Go back go the panel and

- select 'CubeFunc' under Function

- check 'Make it a Mirror Axis'

- click 'Do It'

This should give you what you want. If not, then please specify what is not working for you.