我希望得到您的帮助。我能够使用类似以下命令在 tikz3d 中箭头中间添加矢量标签
\tdplotsetcoord{Mp}{\rvm}{\phm}{\thm}
\path (O) -- node[sloped] (text) {$\bv{r}_{kj}(t)$} (Mp);
\draw[-latex,shorten >=3mm] (O) -- (text) -- (Mp);
但是我想用弧线获得同样的效果。鉴于我正在使用命令,
\tdplotdrawarc[-latex]{(O)}{0.8}{0}{\thm}{anchor=north}{$\vth_k(t)$}
我找不到包含它的方法。这是 MWE
\documentclass{article}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usetikzlibrary{arrows.meta,angles,quotes,positioning}
\usepackage{tikz-3dplot}
\tdplotsetmaincoords{75}{110}
\begin{document}
\begin{figure}[ht!]
\centering
\begin{tikzpicture}[scale=4,tdplot_main_coords]
\definecolor{earth}{RGB}{0,128,0}
\definecolor{moon}{RGB}{119,136,153}
\pgfmathsetmacro{\rvm}{1.2}
\pgfmathsetmacro{\phm}{70}
\pgfmathsetmacro{\thm}{150}
\coordinate (O) at (0,0,0);
\draw[thick,-latex] (0,0,0) -- (1.5,0,0) node[anchor=north east]{${ I}$};
\draw[thick,-latex] (0,0,0) -- (0,1.5,0) node[anchor=north west]{${ J}$};
\draw[thick,-latex] (0,0,0) -- (0,0,1.2) node[anchor=south]{${ K}$};
% Earth
\tdplotsetcoord{Ep}{0}{0}{0}
% draw Moon position, theta, phi, RTN CS
\tdplotsetcoord{Mp}{\rvm}{\phm}{\thm}
\path (O) -- node[sloped] (text) {${r}_{kj}(t)$} (Mp);
\draw[-latex,shorten >=3mm] (O) -- (text) -- (Mp);
\draw[dashed,shorten >=-20pt ] (O) -- (Mpxy);
\tdplotdrawarc[-latex]{(O)}{0.8}{0}{\thm}{anchor=north}{$\vartheta_k(t)$}
\shade[ball color = earth] {(Ep)} circle (2.5pt);
\shade[ball color = moon] {(Mp)} circle (2pt);
\end{tikzpicture}
\end{figure}
\end{document}