円形図を描き、半径と他の部分にラベルを付ける方法

円形図を描き、半径と他の部分にラベルを付ける方法

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

こんにちは。私はこれをOverleafで描きたいのですが、今のところこれを手に入れましたが、どのようにラベルを付けるべきかわかりません。半径と、1.5であるはずの2つの円の半径の差にラベルを付けたいと思いました。

今のところはこんな感じです。

\begin{tikzpicture}
\draw[fill=gray] (0,0) circle (2cm) (0:3) arc (0:-360:3) ;
\end{tikzpicture}   

ありがとう

答え1

TeX.SE へようこそ!

このような?

編集:
円の原点にドットを追加しました

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

\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usepackage{siunitx}


\begin{document}
    \begin{tikzpicture}[
         > = Straight Barb,
lbl/.style = {font=\small, above, sloped}
                        ]
\draw[fill=gray!30] (0,0) coordinate (O)  circle[radius=3.5cm];
\draw[fill=white]       (O) circle[radius=2cm];
\fill                   (O) circle[radius=2pt];
\draw[|<->|, semithick] (0:2) -- node[lbl] {$\qty{1.5}{\meter}$} ++ (0:1.5);
   \draw[->, semithick] (O) -- node[lbl] {$r$} ++ (60:2);
    \end{tikzpicture}
\end{document}

注意:上記のように、で始まり で\documentclass終わる小さいながらも完全なドキュメントである MWE (Minimal Working Example) を常に提供してください。\end{document

関連情報