I'm trying to draw a diagram representing the orbital elements (only the angles) to obtain something like the following:
At the moment I have only drawn the Line of Nodes and the right ascension of the ascending node $\Omega$
. I'm having problems in drawing the actual orbit (the circle in solid line) because I can't figure out how to set tikz-3dplot
's rotated coordinate system. Any suggestion on how to go about that?
Here is my code and the result so far:
\documentclass[border=5pt]{standalone}
\usepackage{tikz,tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[tdplot_main_coords,scale=4]
\pgfmathsetmacro{\r}{.8}
\pgfmathsetmacro{\O}{45} % right ascension of ascending node [deg]
\pgfmathsetmacro{\i}{30} % inclination [deg]
\draw[->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\tdplotdrawarc[dashed]{(0,0,0)}{\r}{0}{360}{}{}
\tdplotsetrotatedcoords{\O}{0}{0}
\draw [tdplot_rotated_coords] (-1,0,0) -- (1,0,0) node [below] {Line of Nodes};
\tdplotdrawarc[->]{(0,0,0)}{.5*\r}{0}{\O}{anchor=north}{$\Omega$}
\end{tikzpicture}
\end{document}
Best Answer
Thanks to @JohnKormylo's suggestions I could reproduce the figure to a satisfactory degree, even if it is not 100% accurate.