You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/tikz/cs/radius=<number>
Factor by which the x-, y-, and z-vector are multiplied.
(no default, initially 0)
/tikz/cs/latitude=<degrees>
(no default, initially 0)
Angle of the coordinate between the y- and z-vector, measured from the y-vector.
/tikz/cs/longitude=<degrees>
(no default, initially 0)
Angle of the coordinate between the x- and y-vector, measured from the y-vector.
First, longitude should be measured from x-vector, and should follow the right-hand-rule, like this φ:
Second, latitude should be measured from xy-plane (not y-vector), like this 90-θ (or you can use the polar angle θ which is measured from z-vector)
Third, radius is not x-, y-, z-vector multiplied, but $\sqrt{x^2 + y^2 + z^2}$
That's unfortunate, but it has been like that for quite some time so we cannot change this anymore. Otherwise we would break all the drawings that rely on this convention. Therefore I've marked your issue as a feature request.
I have no idea why it was set this way. It was introduced all the way back in 2006. You can try to contact the original author to maybe get an answer. e150a7c
Brief outline of the proposed feature
First, longitude should be measured from x-vector, and should follow the right-hand-rule, like this φ:
Second, latitude should be measured from xy-plane (not y-vector), like this 90-θ (or you can use the polar angle θ which is measured from z-vector)
Third, radius is not x-, y-, z-vector multiplied, but$\sqrt{x^2 + y^2 + z^2}$
Minimal working example (MWE)
you can see that the
longitude=60
is measured from y-vector and follow the left-hand-rule, which is not compatible with Physicists and Mathematicians.The text was updated successfully, but these errors were encountered: