矢印付きの円形図を描く

矢印付きの円形図を描く

LaTeX で矢印付きの円形の図を描くにはどうすればよいでしょうか (図を参照)?

ここに画像の説明を入力してください

答え1

3 つの弧は最初に円として描画され、次にその上に白い背景でラベルを描画できます。decorationsライブラリを使用すると、矢印などのパス上にあらゆる種類のマークを配置できます。残念ながら、少し冗長です。

\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc, arrows, decorations.markings}
\begin{document}

\begin{tikzpicture}[decoration = {markings,
    mark = between positions 0.1 and 1 step 0.3333 with {\arrow[>=stealth]{<}}
  }
  ]
  \draw[postaction = decorate] (0, 0) circle [radius = 1cm];
  \path (90 :1cm) node[fill=white]{$\hat{x}$}
        (330:1cm) node[fill=white]{$\hat{y}$}
        (210:1cm) node[fill=white]{$\hat{z}$};
\end{tikzpicture}

\end{document}

ここに画像の説明を入力してください

別のオプションは次のとおりです。

\begin{tikzpicture}[decoration = {markings,
    mark = at position 0.5 with {\arrow[>=stealth]{>}}
  }
  ]
  \path (90 :1cm) node (x) {$\hat{x}$}
        (330:1cm) node (y) {$\hat{y}$}
        (210:1cm) node (z) {$\hat{z}$};
  \draw[postaction = decorate] (x) to[bend left=45] (y);
  \draw[postaction = decorate] (y) to[bend left=45] (z);
  \draw[postaction = decorate] (z) to[bend left=45] (x);
\end{tikzpicture}

同様の出力が得られます:

ここに画像の説明を入力してください

関連情報