- #36
- 24,488
- 15,033
No! If you direct the polar axis in another direction, it's another angle.PeroK said:Okay, but then ##\theta' = \theta##. That's just regular spherical coordinates.
No! If you direct the polar axis in another direction, it's another angle.PeroK said:Okay, but then ##\theta' = \theta##. That's just regular spherical coordinates.
Be careful with this "sloppy formula". In the programming language you have the function atan2 for what you want (in Fortran it's atan2(y,x) in C atan2(x,y) ;-))).PeroK said:It's a change to the z-axis only. It would leave the x and y axes unchanged. Note that ##\tan \phi = \frac y x##.
The OP's diagram indicated a rotation of all three axes, but with the false assumption that ##\phi## was unchanged for all points.vanhees71 said:No! If you direct the polar axis in another direction, it's another angle.
That is not what I wrote, sorry.Kashmir said:I am not keeping theta the same. I'm keeping the other two same and vary theta
The value of r remains unchanged, but its projections on the three planes change (please, see attached animation).Kashmir said:So we can't rotate in such a way that changes theta but keeps r and phi the same?