I am trying to create some tikz figures for to illustrate different earth reference frames. The code I am using is inspired by this:
\tdplotsetmaincoords{60}{110}
%
\pgfmathsetmacro{\rvec}{.8}
\pgfmathsetmacro{\thetavec}{45}
\pgfmathsetmacro{\phivec}{50}
%
\definecolor{darkgreen}{rgb}{0.1,0.7,0.1}
\begin{tikzpicture}[scale=5,tdplot_main_coords]
\coordinate (O) at (0,0,0);
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$X{\text{ecef}}$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$Y_{\text{ecef}}$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$Z_{\text{ecef}}$};
\tdplotsetcoord{P}{\rvec}{\thetavec}{\phivec}
\tdplotdrawarc[blue]{(O)}{0.8}{-90}{90}{}{}
\tdplotdrawarc[dashed,blue]{(O)}{0.8}{90}{270}{}{}
%
\tdplotsetthetaplanecoords{\phivec}
%
\tdplotsetthetaplanecoords{0}
\tdplotdrawarc[tdplot_rotated_coords]{(0,0,0)}{0.8}{0}{90}{left}{\rotatebox[origin=cc]{85}{Prime Meridian}}
\tdplotdrawarc[tdplot_rotated_coords]{(0,0,0)}{0.8}{90}{180}{}{}
%
\tdplotsetthetaplanecoords{90}
\tdplotdrawarc[tdplot_rotated_coords,blue]{(0,0,0)}{0.8}
{0}{360}{}{}
%
\end{tikzpicture}
If I set my maincoords to {75}{95} it looks like

and apart from the weird thing where the prime meridian and the south pole meet it looks fine.
The x axis is a little too "out of the screen" for my liking, but when I use {60}{110} it looks like

where the intersections just look kind of wrong. Maybe I my expectation is wrong but this viewing angle looks like a very warped circle which wasn't really what I had expected. Especially given that the tikz is written with respect to rotation and reference frames so I figure that shouldn't change much with different viewing angles.
I'm not quite sure what is wrong or if I have misguided expectations, but I am trying to fix this such that the latter viewing angle doesn't show such a warped looking sphere.


\tdplotdrawarcthat aren't correct? – Morten Nissov Dec 21 '19 at 20:54tdplot_rotated_corrds? – Morten Nissov Dec 21 '19 at 20:57