This should probably do what you want: Function Transformations in af(k(x-c))+d Form | Component Based Approach