tikz を使用してグラフのノードに正規分布を設定する

tikz を使用してグラフのノードに正規分布を設定する

追加したいのは正規分布tikzパッケージを使用して円ノード内

\node[scale=4,circle, fill=blue!55!cyan!25] (Og1) at (0,0) {};

可能であれば、プロットの下の領域に色が付き、ノード内に目盛りがなく、水平軸だけが表示されます。

答え1

を使用できますpath picture

\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
 \node[circle,draw,minimum size=4cm,path picture={
 \draw[fill=blue] let 
 \p1=($(path picture bounding box.north east)-(path picture bounding box.south
  west)$)
  in plot[variable=\t,domain=-1:1,smooth] 
  ({\t*\x1/2},{exp(-\t*\t)}) |- (-\x1,0)
  (-0.5*\x1,0) edge[-stealth] (0.48*\x1,0)
   (0,0) edge[-stealth] (0,0.48*\y1);
 }]{};
\end{tikzpicture}
\end{document}

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

関連情報