- #1

- 9

- 0

## Main Question or Discussion Point

Hello, this one is doing my head in. I'm trying to plot and play with wavefunctions by moving the originm, but i need to do it in spherical coordinates.

Suppose i have a function G(r',theta',phi'), centered at the origin of the system r',theta',phi'. I also have a similar G(r'',theta'',phi''). I need to plot these on the same spherical coordinate system (r,theta,phi). The origin of (r',theta',phi') is located at x=x0 of (r,theta,phi). How do i convert G(r',theta',phi') to G(r,theta,phi)?

This problem is easy in cartesian, i just change x to x-x0. However, the functions i'm dealing with have square roots and therefore a simple conversion is not possible.

Thanks in advance for the help!

Suppose i have a function G(r',theta',phi'), centered at the origin of the system r',theta',phi'. I also have a similar G(r'',theta'',phi''). I need to plot these on the same spherical coordinate system (r,theta,phi). The origin of (r',theta',phi') is located at x=x0 of (r,theta,phi). How do i convert G(r',theta',phi') to G(r,theta,phi)?

This problem is easy in cartesian, i just change x to x-x0. However, the functions i'm dealing with have square roots and therefore a simple conversion is not possible.

Thanks in advance for the help!